woensdag 24 juni 2009

Working around a IE6 bug ... only to create new problems

Today, I ran into a bug that was mainly caused by trying to escape other bugs.
The IE6 bug I ran into seems to be an undocumented one, but it is possible that the lack of proper description caused me not to find it on the net. Here it is: when
applying a relative position and a filter image on a table cell (th or td), the onhover functionality of included cells doen't work anymore.
It costed me some time to discover this one, but the main question was: why the hell
would you apply a relative position to a table cell?
Well, that was to escape the problem that on IE6, setting the border-spacing to 0 in CSS is not supported there. Thanks to vacskamati,
a hack was exposed to solved this, exploiting bugs in IE6. But unfortunately, it also sets the position to relative...

Geen opmerkingen:

Een reactie posten