CSS Learning: Link Rollover not working in IE 5

A random CSS thing: there are many reasons why rollover image replacement fails to work in IE, when it works fine in Firefox et al, however I just found a new one; if you forget to put the HREF into the anchor link (<a&rt;) then both Firefox & IE render the link correctly – but Firefox will activate the :hover state and IE won’t. Simply putting the HREF back in again makes it work.

In this case you could argue that Firefox is at fault, as a link without a destination isn’t a link. Either way it was a waste of time finding it.