«

»

Dec 14

The order matters! Are you kidding me?

While carefully coding a web site template by hand I couldn't figure out why my "a:hover" selector wasn't working. I Googled it and came across this website that explains that order matters in CSS…

Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!

Coding is hard.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>