Css style class for line height
3 posts Page 1 of 1
Css style class for line height
Can you do a style class or id for a<br>
so it would apply to just the one you want?
Re: Css style class for line height
Yes. 'line-height' applies to all elements.https://www.w3.org/TR/CSS2/visudet.html ... ine-height
Question is if you should. BR is very seldom the right element to use.
Re: Css style class for line height
rahul_bagi wrote:Can you do a style class or id for[url][/url] a
<br>
so it would apply to just the one you want?
You can, but <br /> is only a break line. Better application of the line-height would be on block-type elements elements.
http://www.brenkoweb.com/tutorials/css/css-visual-formatting-model/line-height-and-vertical-alignment
http://www.brenkoweb.com/tutorials/html/html-text/br-tag
Page 1 of 1