Solved

Style 'color' & NS4

Posted on 1999-01-26
3
284 Views
Last Modified: 2013-11-19
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.
0
Comment
Question by:JHG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
jedimike earned 20 total points
ID: 1845654
background-color is buggy in N4+.
how about <body bgcolor="#000000" text="#FFFFFF">

a cheaper way if you absolutely need to use CSS is to use
background-image = blah.gif
where blah.gif is a black box. this is not buggy in IE or Netscape
and check out http://www.webreview.com/guides/style/mastergrid.html
this will tell you about all the CSS properties and the browsers they do and dont work in
0
 

Author Comment

by:JHG
ID: 1845655
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.
0
 

Expert Comment

by:cwodtke
ID: 1845656
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question