Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Css


gmiller - 10:04 pm on Jan 6, 2001 (gmt 0)


You need to put the pseudo-class (:whatever) after the class (.whatever). They way you're doing it is ok in CSS2, but not CSS1. NN4 doesn't support it. If you wanted to put a hover on paragraphs of class "happypara", you'd do it like this:

p.happypara:hover { }

Actually, p:hover is a bad example, since NN4 doesn't support hover and IE only supports it on "a" elements :)

The W3C has a CSS validator at [jigsaw.w3.org...] which is helpful in some cases, and [richinstyle.com...] has bug lists for the browsers.


Thread source:: http://www.webmasterworld.com/css/5.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com