I’ve a text in side heading with multiple lines. Want the spacing the two lines to increase, so I set a line-height. When I do this, not only does it increase space between the two lines, it also increases spacing above the first line (and maybe below the second). How can I increase spacing between the two lines only, without increasing above and below.
I know it’s a behavior of Line-height. but just curious if there is any good solution for this.
This is just en example to what I’m asking.
Jsfiddle: http://jsfiddle.net/jitendravyas/V3eWV/

You can use negative margins for this, although there is something to keep in mind:
line-heightis a funny thing. According to CSS2.1 it doesn’t specify the line-height but the minimum height of line-blocks:A line box is defined in 9.4.2 Inline formatting contexts:
This doesn’t change in CSS3 very much, at least if you don’t change the
line-stacking. However, there is no property which targets your problem directly: you can’t change theline-heightof the::first-line, it will always get applied.That said, use negative margins for the time being. Even better, wrap your elements in a generic container. By using
:first-childand:last-childyou can add as many elements as you like.Example