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 Chriss Miller 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
Joined
Feb 1, 2001
Messages
1,514
Location
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.
 
BTW, it's called "leading" and not "letting".
It refers to when type was set in hot metal, on blocks.

"I'm making time
 
Ok Foamcow, thanks for the info. :)

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

Part and Inventory Search

Sponsor

Back
Top