tags:

views:

37

answers:

3

how can i set line spacing with CSS, like we can set line spacing in MS Word

+1  A: 

I am not sure if this is what you meant:

line-height: size;
Alan Haggai Alavi
this IS what i meant...
Junaid Saeed
+3  A: 

try the line-height property.

it's not the same thing, but you can make it work :)

e.g.

12px font-size and 4px distant from the bottom and upper lines

line-height: 20px; /* 4px +12px + 4px */
Mario Cesar
+1  A: 

try line-height property.

there are many ways to assign line height

i suggest you go thru this presentation to understand what works best where.

http://variable3.com/blog/2010/05/5-must-read-presentations-to-improve-your-css-skills/

go to the line height presentation on that page.

Harsha M V