Log In · Register

 
adjusting text "leading", is there a way?
ep1986
post Jul 1 2008, 11:50 PM
Post #1


Member
**

Group: Member
Posts: 21
Joined: Sep 2007
Member No: 575,080



i want to know if there's a way to adjust the "leading" setting for the text i input on my page. leading, meaning...the amount of space between two (horizontal) lines of text as a result of a linebreak

i'd be willing to put the text i want altered in a div scrolling text area, if i have to.

thanks
 
 
Start new topic
Replies
waccoon
post Jul 2 2008, 01:14 AM
Post #2


We are the cure.
*******

Group: Staff Alumni
Posts: 4,936
Joined: Jan 2004
Member No: 1,456



It's a simple matter of adding the line-height property in your css.

CODE
p, b {font-size:14px; line-height:300%}


Usually, line-height values are in percentages (relative to font-size, so 300% in the above code would make a 42 font sized space), numbers (multiply the given font-size by number in value), or pixels/ems (given length).
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: