adjusting text "leading", is there a way? |
adjusting text "leading", is there a way? |
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 |
|
|
|
![]() |
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). |
|
|
|
Jul 2 2008, 02:43 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 21 Joined: Sep 2007 Member No: 575,080 |
thanks so much! but...since i've decided that I only want to adjust the line height for the text i input into my "interests" sections (general, music, books, etc) what tag should I use for that?
|
|
|
|
Jul 2 2008, 04:54 AM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
CODE .interestsAndDetails td { line-height:3.0em; } this will adjust only your interests sections. |
|
|
|
![]() ![]() |