PDA

View Full Version : margin between text-lines


ShMiL
04-16-2003, 01:47 PM
Is there a way to put automatic margin between lines of text (without breaking it with <br>'s)???

Thanks

meow
04-16-2003, 01:52 PM
Not really, but I think line-height (http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height) will do nicely. ;)

An example using the font shorthand.

p { font: 100%/1.9 Verdana, sans-serif }

Every P will use normal sized Verdana with extra line-height.

ShMiL
04-16-2003, 01:59 PM
Originally posted by meow
Not really, but I think line-height (http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height) will do nicely. ;)

An example using the font shorthand.

p { font: 100%/1.9 Verdana, sans-serif }

Every P will use normal sized Verdana with extra line-height.

line-height is exactly what I was looking for!!!

meow
04-16-2003, 02:02 PM
I know. :D j/k

ShMiL
04-16-2003, 02:31 PM
:) :) :) Thanks...!