Link to home
Start Free TrialLog in
Avatar of JHG
JHG

asked on

Style 'color' & NS4

I have tried to set the Font 'Color' property using both a linked Cascading Style Sheet file and an embedded style sheet definition and it will not change the font colors according to this setting.  

I am specifically setting the BODY tag to look like this:
BODY { color : #FFFFFF; background-color : #000000; }

it works in IE but not Netscape 4.5
Is there a setting in Netscape that I'm not thinking of (besides the 'enable Cascading Style Sheets' in Preferences)?

Has anyone ever seen this, and how do I get around it?
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of jedimike
jedimike

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JHG
JHG

ASKER

Jedimike,
Thanks for your speed in answering my question.  I am limited to using ccs so the option for defining text colors in the actual tags is out.  

Please feel free to test this out, but it seems that even w/ your suggestion of using 'background: url(black.gif);', the color property of the font has no effect (in NS4).  I'm wondering if perhaps the chart you suggested should say that 'color' is buggy in netscape 4 as well as 'background-color'.

again, thanks for your timely answer.  I've given the points because you've answered the question.
Of course it has no effect... don't use it on the body tag. body-background is buggy, but should work okay on NN4.5. To define the font color try

p{color:#FFFFFF}
or div{color:#FFFFFF}
and put these around your text. i've taken to using opening and closing <p> for this very reason.