“Have nothing in your house that you do not know to be useful, or believe to be beautiful.” ― William Morris

CSS Learning: Link Rollover not working in IE 5

Posted: August 22nd, 2007 | Author: | Filed under: Technology | Tags: , , | No Comments »

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.



Leave a Reply