Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS Background colors problem

Status
Not open for further replies.

jymm

Programmer
Apr 11, 2002
707
US
ok - I hate running into problems like this...

I have an ASP based solution that is using CSS - everything looks WONDERFUL 'till my boss (a Netscape nazi) went to look at the site in Netscape... and of course the things did not work the same (thought I had them all, but alas)...

ANYWAY - I can not for the life of me find how to drive the background color in BOTH IE & Netscape in the CSS - or more specifically make it work.

Ideas?
 
You could always write a browser detection Javascript command and create two different style sheets, one for IE, the other for Netscape. Then direct them to a page designed for their browser. Just an idea.
 
Netscape is more touchy about order. Try background first and then font style, weight, variant, size, line-height in that order (if present).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top