Forum Moderators: open

Message Too Old, No Replies

How to add vertical spacing between line in a paragraph?

         

irock

7:33 am on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



HI, I was wondering if you guys know how to add vertical spacing in between each line in a paragraph. I have some very long reviews, but the lines are too close to each other. Will this require the use of CSS?

jpjones

7:36 am on May 29, 2003 (gmt 0)

10+ Year Member



CSS would do it. If you have each paragraph wrapped in a paragraph tag, you could add:

p: {margin-bottom: 30px;}

This would place a 30 pixel margin at the bottom of each paragraph tag. Increase/Decrease the value as required.

JP

ytswy

8:38 am on May 29, 2003 (gmt 0)

10+ Year Member



If you are trying to space out the lines within a paragraph you need to use the CSS line-height property. eg:

P {line-height: 120%;}