weird, that is basic HTML. Sounds like a system specific problem.
<font style="color: red">red text</font> work?
Main Topics
Browse All TopicsIn Mozilla (a Netscape-like browser), the following code shows me color:
<FONT color="red">different color</FONT>
However, in IE, it shows up in black color.
Did I set IE wrong or what? So weird.
Thanks,
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In html 4.01 the <font> tag is deprecated. This means that it should still work, but other methods (see: Serberus) are recommended. In xhtml 1.0 the <font> tag is not supported.
see: http://www.w3schools.com/t
However, this does not explain the behaviour you describe. I can think of only one reason now:
If you have a nested tag, higher level tags might overrule the lower level tags. Something like:
<table style="color: black">
<tr><td>
<font color="red">This text should be red</font>
</td></tr>
</table>
Now is the text black or is it red (like you would like it to be).
Maybe the example isn't exactly correct, but I know nested attributes give unexpected results sometimes.
yeah the above is true, XHTML is very very wary on what is typed to create certain effects. Sooner or later with XML all tags will be identical and there will be no variances. This would make things a lot easier in so many ways but can make writing code manually rather annoying. Have you declared your website with the XHTML 1.0 conversion by any chance?
If it is just on your computer, you probably have is set that way in your prferences:
From the menu bar click tools; slect internet options... in the general tab with an accessibility button when you click that there are a series of options at the top. One of those is ignore font colors on web pages. uncheck it, and you will see the colors.
Cd&
Business Accounts
Answer for Membership
by: codenamecharliePosted on 2003-09-23 at 04:31:44ID: 9412004
By the way, forgot to mention, even if I use <font color="#ff0000">
it does not work with IE either.
My IE is version 5.0