"line spacing tag..."

liunx

Guest
dear seniors...<br />
<br />
is there any html <tag> for "Line Spacing" ?<br />
<br />
i want to make a paragraph aligned "justify" <br />
and the line space as 2 as it is in MS-Office-Word.<br />
<br />
thanx in advance.<br />
<br />
-Munas.<!--content-->There is no command to do that but just put <br><br> at the end of every line and it will make it double spaced.<!--content-->how about some css?<br />
<br />
<p style="line-height:2em">text</p><!--content-->Oh wow I did not consider that. What is em though, did you mean cm?<!--content-->em depends on the font size chosen by the browser I think. At least, it varys with the font size you choose. You could use cm or mm or px etc.<!--content-->I had never heard of that, well you learn something new every day. Unfortunatly its too early for me and I might not absorb that.<!--content-->From the CSS2 Specification:<br />
The 'em' unit is equal to the computed value of the 'font-size' property of the element on which it is used. The exception is when 'em' occurs in the value of the 'font-size' property itself, in which case it refers to the font size of the parent element. It may be used for vertical or horizontal measurement. (This unit is also sometimes called the quad-width in typographic texts.) <br />
<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/syndata.html#length-units">http://www.w3.org/TR/REC-CSS2/syndata.html#length-units</a><!-- m --><!--content-->
 
Back
Top