Archive for the ‘HTML / CSS’ Category

Anchors and CSS

Tuesday, October 24th, 2006

A nice thing to remember are these notes from the w3schools website:

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!!

Note: Pseudo-class names are not case-sensitive.

I wondered too often why my hovers didn’t work while I clearly specified them.

Link: W3schools.com, look under “Anchor Pseudo-classes”