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

Spacing between lines of text

Status
Not open for further replies.

mtg115

Technical User
Jun 23, 2004
5
US
I'm probably missing something simple, but I cannot figure out how to increase the vertical space between lines of text. I think indicating "padding" is the solution, but am not sure how to do this.

Any suggestions?

Thanks!
 
To expand, just set the line-height to an absolute value like this:

.test {
font-size: 12pt;
line-height: 16pt;
}

This will render any element with the class "test" have a 12-point font size and the line height will be 4 points higher which will give you 4 points extra space. :)

Download the Internet here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top