Return to Snippet

Revision: 19379
at October 22, 2009 11:16 by Rogier


Initial Code
Normal CSS;
.anchorClass a {background:url('image.gif') center right no-repeat;}

IE6 & IE7 extra bugfix CSS;
.anchorClass a {display:inline-block;}

Initial URL

                                

Initial Description
In IE6 and IE7 when wrapping an anchor to the next line, the first anchor with the class="anchorClass" will not display the background image nor have the clickable padded area.

In your IE6 & IE7 bugfixes CSS adding the property/value display:inline-block; to the anchor class will fix this for IE.

Initial Title
Fix for IE6/7 background image on anchor in wrapped text bug

Initial Tags
css, ie6

Initial Language
CSS