I am trying to get some kind of dirty underline effect using a hyphen line, but I want it to come a little closer to a multi-line header than the line height.
Negative margin works in FF, but in IE there is no joy?
<p>a multiline title here<p><p style="margin: -7px 0px 10px 0px;">-----------------------------------------------------------------------------</p>
ok fixed it, I reduced the line height on my tag ------
, the line height acts as the top edge ...
thanks guys
border-bottom 1px dashed black. IE6 , (, , , CSS). .
border-bottom
1px dashed black
<p style="border-bottom: 1px dashed black;">a multiline title here</p>
( CSS)
display: , div span bacause IE "p" , ff does
, -, , , , p .
-7px 10px. 10px, IE7,8
:
<p>a multiline title here<p><p style="margin: -7px 0px 0px 0px;">-----------------------------------------------------------------------------</p>
Source: https://habr.com/ru/post/1737189/More articles:Nested lambda expressions and string cultures - c #Я (думаю) Я хочу использовать BItWise Operator для проверки свойства useraccountcontrol! - c#Which book should I read as an alternative to First Servlets and JSPs? - javaPassing data to a data template selector - wpfreturn value of main () in windows - windowsМассивы в JavaScript - javascriptIntellisense in header files - c ++Crazy VS constructor errors - c #Динамически созданный iframe, используемый для загрузки триггеров файлов с загрузкой с помощью firebug, но не без - javascriptAdding multiple vectors to R - vectorAll Articles