Rowan Lewis wrote:
I've come accross an interesting (and painful) bug in IE6, when you have padding on a link, and a background colour set, and then margin to stop the link shifting, IE fails to draw the background over the padding:

http://www.pixelcarnage.com/dump/rn.html

I've tried many things, including giving the inline link layout, but that doesn't work either.

It is difficult to give a link layout, but 'zoom: 100%' will work. Need
to zero out that padding on top/bottom.

a:hover {
        background : #dfdfdf;
        margin : 0 -0.25em;
        padding :0 0.25em;
        zoom: 100%;
        }
...complete and working.

        Georg
--
http://www.gunlaug.no
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to