Skip to content Skip to sidebar Skip to footer

How To Remove Background Color Between Lines On H1 Tag?

so here is the picture how I need it to look - http://desmond.imageshack.us/Himg339/scaled.php?server=339&filename=capture2dn.jpg&res=medium And here is the picture, how I

Solution 1:

​<h1>
<span>test test test test test test test test test test test test test test test test test test test test test test test test test test test test </span>
​</h1>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

​h1{
    width:200px;
}
h1 span
{
    background-color:red;
}
​

http://jsfiddle.net/Mcd9F/


Using line-height will increase the gap:

http://jsfiddle.net/Mcd9F/1/


Post a Comment for "How To Remove Background Color Between Lines On H1 Tag?"