Problem with HTML Tag Thread poster: wonita (X)
|
wonita (X) China Local time: 16:09
Dear colleagues, I use the following tag for the title of my profile: (CENTER)(font color="blue")(H1) Dolmetscher und Übersetzer für Chinesisch (/CENTER)(/font)(/H1) I deliberately write () for the tag, so that you can see what tag I use for HTML. But the color of the title "Dolmetscher und Übersetzer für Chinesisch" is green instead of blue. Does anybody know how I can change the color to blue? Thanks, Bin ... See more Dear colleagues, I use the following tag for the title of my profile: (CENTER)(font color="blue")(H1) Dolmetscher und Übersetzer für Chinesisch (/CENTER)(/font)(/H1) I deliberately write () for the tag, so that you can see what tag I use for HTML. But the color of the title "Dolmetscher und Übersetzer für Chinesisch" is green instead of blue. Does anybody know how I can change the color to blue? Thanks, Bin
[Edited at 2011-01-28 19:27 GMT] ▲ Collapse | | |
|
wonita (X) China Local time: 16:09 TOPIC STARTER Thanks, Tomas | Jan 28, 2011 |
I have changed "blue" to "#0000ff", which is the code for the blue colour. But the title is still green. | | |
If the computer says it is blue, it is blue! | Jan 28, 2011 |
Just joking... Hm... This is strange. What is the colour depth of your system? Maybe you can increase the colour depth so that a wider range of colours can be represented? Also, when you look at pictures that show blue colours, like when you google "blue colour", do you see blue or also some green images? | |
|
|
Frank van Thienen (X) Canada Local time: 13:09 Dutch to English nesting and such | Jan 28, 2011 |
Hi Bin, (posted this earlier, but it's not showing up, so excuse me if it shows twice) You need to properly nest your tags (1)(2)(3)text (/3)(/2)(/1) You also need to use hexadecimal codes for the umlauts and you might want to check to see if a css is attached to the webpage. anyway, try this code (change brackets to proper html brackets): (CENTER)(H1)(font color="blue")Dolmetscher und Übersetzer für Chinesisch(/font... See more Hi Bin, (posted this earlier, but it's not showing up, so excuse me if it shows twice) You need to properly nest your tags (1)(2)(3)text (/3)(/2)(/1) You also need to use hexadecimal codes for the umlauts and you might want to check to see if a css is attached to the webpage. anyway, try this code (change brackets to proper html brackets): (CENTER)(H1)(font color="blue")Dolmetscher und Übersetzer für Chinesisch(/font)(/H1)(/CENTER) HTH Frank
[Edited at 2011-01-28 19:59 GMT] ▲ Collapse | | |
wonita (X) China Local time: 16:09 TOPIC STARTER Are you suggesting... | Jan 28, 2011 |
Tomás Cano Binder, CT wrote: Just joking... Hm... This is strange. What is the colour depth of your system? Maybe you can increase the colour depth so that a wider range of colours can be represented? Also, when you look at pictures that show blue colours, like when you google "blue colour", do you see blue or also some green images? Tomás, my eyes and my computer are otherwise fine. | | |
Frank van Thienen (X) Canada Local time: 13:09 Dutch to English html conundrum | Jan 28, 2011 |
the problems of representing html code on an html page The hexadecimal codes for the U- and u-umlaut are & Uuml; and & uuml; (remove the space after the ampersand) as in & Uuml;bersetzer f& uuml;r Frank | | |
wonita (X) China Local time: 16:09 TOPIC STARTER Yes, it works! | Jan 28, 2011 |
Frank van Thienen wrote: Hi Bin, (posted this earlier, but it's not showing up, so excuse me if it shows twice) You need to properly nest your tags (1)(2)(3)text (/3)(/2)(/1) You also need to use hexadecimal codes for the umlauts and you might want to check to see if a css is attached to the webpage. anyway, try this code (change brackets to proper html brackets): (CENTER)(H1)(font color="blue")Dolmetscher und Übersetzer für Chinesisch(/font)(/H1)(/CENTER) HTH Frank After I changed (CENTER)(font color="blue")(H1) to (CENTER)(H1)(font color="blue"), the color has changed to blue. I have never cared about the order of the tags, just believed it does not matter. Many thanks, Frank.
[Edited at 2011-01-28 20:08 GMT] | |
|
|
CSS with colour for H1 style? | Jan 28, 2011 |
Frank van Thienen wrote: and you might want to check to see if a css is attached to the webpage. Absolutely. Dumb me. Heading style H1 could have green as the colour in an associated CSS file. I think the CSS style could be that of Proz.com's... Maybe instead of using H1 you could simply choose the font and size manually, with: (CENTER)(FONT FACE="Tahoma" SIZE=19.5 COLOR="blue")Dolmetscher und Übersetzer für Chinesisch(/font)(/CENTER) (Your profile has Tahoma at 19.5 points as far as I can see.) | | |
Frank van Thienen (X) Canada Local time: 13:09 Dutch to English order of tags | Jan 28, 2011 |
I just tested a different sequence of tags, putting H1 on the inside, and that gives you the default (css) colour. In other words, the specs of one tag (H1) may be overwritten by a subsequent (font colour) tag! Glad it worked out Frank | | |
The proper way | Jan 29, 2011 |
This is the proper way (with substitution of the angle brackets): (H1 style="text-align: center; color: blue")Text(/H1) The (font) tag has been deprecated for some time, as has the (center) tag. Using 'style' inside the H1 tag will override any default CSS settings. Might I (very politely) suggest that anyone who wants to use html should spend a little time studying the rules of html and learning a little bit about style sheets. An hour or two would probabl... See more This is the proper way (with substitution of the angle brackets): (H1 style="text-align: center; color: blue")Text(/H1) The (font) tag has been deprecated for some time, as has the (center) tag. Using 'style' inside the H1 tag will override any default CSS settings. Might I (very politely) suggest that anyone who wants to use html should spend a little time studying the rules of html and learning a little bit about style sheets. An hour or two would probably be enough. This would be a good place to start: http://www.w3schools.com/html/default.asp Philip ▲ Collapse | | |
wonita (X) China Local time: 16:09 TOPIC STARTER Problem with umlauten | Jan 29, 2011 |
I have just uploaded my new homepage and discovered the following problem: Some umlauten are not shown correctly with unicode setting(other settings are fine), though I used HTML code for all umlauten. www.dolmetscher-chinesisch-uebersetzer.de/ Does anybody have an idea what the cause of this problem could be? By the way, I 've tried both Name in HTML and Unicode in HTML,... See more I have just uploaded my new homepage and discovered the following problem: Some umlauten are not shown correctly with unicode setting(other settings are fine), though I used HTML code for all umlauten. www.dolmetscher-chinesisch-uebersetzer.de/ Does anybody have an idea what the cause of this problem could be? By the way, I 've tried both Name in HTML and Unicode in HTML, neither of them works. Thank you in advance. Bin
[Edited at 2011-01-30 09:26 GMT] ▲ Collapse | |
|
|
Maybe you just need to declare it to be UTF-8? | Jan 29, 2011 |
Bin Tiede wrote: I have just uploaded my new home page and discovered the following problem: Some umlauten are not shown correctly with unicode setting(other settings are fine), though I used HTML code for all umlauten. www.dolmetscher-chinesisch-uebersetzer.de/ Does anybody have an idea what the cause of this problem could be? By the way, I 've tried both Name in HTML and Unicode in HTML, neither of them works. If you want the page to show properly in UTF-8, just declare it in the header (between (HEAD) and (/HEAD)) and save the page in UTF-8. I wouldn’t normally bother to use HTML code for umlauted letters; I’d just type them out. The declaration that I’d use is: (meta http-equiv="Content-Type" content="text/html; charset=utf-8") | | |
wonita (X) China Local time: 16:09 TOPIC STARTER Many thanks, Ambrose | Jan 29, 2011 |
Ambrose Li wrote: The declaration that I’d use is: (meta http-equiv="Content-Type" content="text/html; charset=utf-8") The problem has been solved with your help. Have a nice weekend! Bin | | |