Archive for October, 2008
If I had guns or religion, I’d cling to them because of this browser. I would shoot it in the face and pray to god that my bullets obliterate this heathen.
So here it is, for my consideration and yours, the bare minimum for a flicker-less image swap hover for IE6.
First, ALWAYS set your doc type to strict!
<style type="text/css">
a { display:block; }
a:hover { background-color:#FFF; }
/* YOU MUST HAVE A BACKGROUND COLOR HERE. */
a img { height:0; width:0; }
a:hover img { height:50px; width:50px; }
</style>
<a>text or image<img src="image.gif"></a>
I was about to shatter a cd and shove the best shiv into my eye socket because of this.
read users´ comments (0)




