Negative margins: can they work in IE7 and IE8?
Posted
by Haroldo
on Stack Overflow
See other posts from Stack Overflow
or by Haroldo
Published on 2010-03-16T16:52:15Z
Indexed on
2010/03/16
17:11 UTC
Read the original article
Hit count: 197
html
|internet-explorer
I'm trying to have a kind of dirty underline effect using a string of hyphens, but I want it slightly closer to the multi-line title than the line-height.
Negative margin works a treat in FF but no joy in IE?
<p>a multiline title here<p><p style="margin: -7px 0px 10px 0px;">-----------------------------------------------------------------------------</p>
© Stack Overflow or respective owner