[thelist] CSS hover not validating at W3C

Joe Crawford jcrawford at avencom.com
Tue Apr 17 09:07:46 CDT 2001


sfmalo wrote:
> The only thing preventing a page from W3C CSS 1 validating is its problem
> with an A:hover on my site's home page. Really puzzling. Code looks okay to
> me. I have used both a remote.css file and document-wide declarations 'tween
> the <head> tag. The remote file validates, but the validator coughs at the
> A:hover declaration.

Looks like it actually does validate, but with css2
Check it out:
    http://jigsaw.w3.org/css-validator/
I get "no error or warning found":

<watch why="for url wrap">
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.24caratdes
ign.com%2Findex.html&warning=1&profile=css2
</watch>

Here's the reference in CSS2:
http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes

> Anyone have any ideas? (I have finally put both feet in the water as to CSS,
> but only up to the ankles so far.)
> 
> Errors :
> URI : http://www.24caratdesign.com/index.htmlLine: 20
> Unknown pseudo-element or pseudo-class hover

Does that help?

    - Joe <http://artlung.com/>
--
Joe Crawford ||||||||||||||       mailto:jcrawford at avencom.com
||||||||||||||||||||||||             http://www.avencom.com
|||||||||||||||||||||||||||      Avencom: Set Your Sites Higher





More information about the thelist mailing list