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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line Height

Status
Not open for further replies.

mdr2273

Programmer
Sep 4, 2006
22
US
How can I increase a line height (not using tables) to allow for more space between lines of text without increasing the font size?
 
Set the line-height property in your stylesheet
Code:
 p
{ 
line-height: 140%
}

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Of course. I just 'cut and pasted' one example from w3schools. (I just read that Eric Meyer posting a couple of days ago, too.) [blush]

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top