Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can you set a value for "letting" with css? 1

Status
Not open for further replies.

Ovatvvon

Programmer
Feb 1, 2001
1,514
US
I'm trying to figure out if there's a way to set the paragraph "letting" (space between each line of text [i.e. double-spacing]) characteristic in my stylesheet. Does anyone know how to do this?

-Ovatvvon :-Q
 
Code:
p.mystyle {
  line-height: 1.5;
}
Also accepts pixel values, if you so desire.
 
line-height, I think. If you set it as a number, it is relative to font size.
 
Ok Foamcow, thanks for the info. :)

-Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top