Underline ie6-bug. Inline element in <a> tag.
Posted
by kalininew
on Stack Overflow
See other posts from Stack Overflow
or by kalininew
Published on 2010-03-30T09:32:08Z
Indexed on
2010/03/30
9:43 UTC
Read the original article
Hit count: 558
There is a markup:
<a href="#">
lorem ipsum<span>15</span>
</a>
There are styles:
a{
text-decoration: underline;
}
a span{
background: #fff; //To clean the bottom underlining under <span>
}
Works in all interesting me browsers. Except IE6. The bottom underlining under <span>
remains.
How to solve this problem without changing a markup.
© Stack Overflow or respective owner