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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one part of a CSS not working in Netscape

Status
Not open for further replies.

ray436

Technical User
Apr 11, 2000
254
CA
i bet i made a real newbie goof, but what was it ?

this works fine in IE, Ns gives no mouseovers, and the font styles are not there ( the text is MIA - black actually)




<STYLE type=&quot;text/css&quot; title=&quot;color scheme&quot;>body { color : black}
p { color : #00ccff; font-size : 12; font-family : verdana;}
h1 {color : #00ccff; font-size : 20; font-family : verdana;}
h2 {color : #ff3366; font-size : 16; font-family : verdana;}
h3 {color : aqua; font-size : 16; font-family : verdana;}
h4 {color : #009966; font-size : 20; font-family : verdana;}
h5 {color : Yellow; font-size : 18; font-family : verdana;}
h6 {color : #00ccff; font-size : 18; font-family : verdana;}
<!--
A:link { text-decoration: none; color: #00ccff}
A:visited { text-decoration: none; color: #cc0000}
A:active { text-decoration: none; color: Yellow}
A:hover { text-decoration: none; background: #3966cc}

//--></STYLE>

any help greatly appreciated!!! [sig][/sig]
 
I actually can't answer your question, but I can tell you that I made same newbie goof.
I am currently searching for the same answer. I applied a CSS style to my text fields and the style is ignored by Netscape. Hope someone can help us.
 
i fixed most of the errors, i added &quot;pt&quot; directly after the number in the font size spec:


p { color : #00ccff; font-size : 12pt; font-family : verdana;}

--- the pt must be touching the number or Netscape will not read it - IE will, but Netscape is more literal.-----

i still cant get the mouse over effect to work tho [sig][/sig]
 
thanks grega,

i usually write compatible pages ( hand code fonts and rollovers in the containers etc, ) but i have inherited a few sites, and was hoping for a fix instead i got more work.

uggghhh.


checked wdvl, very kool..... thanks

time for some find and replace i guess :0 [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top