Oct 11, 2006 #1 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?
How can I increase a line height (not using tables) to allow for more space between lines of text without increasing the font size?
Oct 11, 2006 #2 ChrisHunt Programmer Jul 12, 2002 4,056 GB Use the CSS [tt]line-height[/tt] property. -- Chris Hunt Webmaster & Tragedian Extra Connections Ltd Upvote 0 Downvote
Oct 11, 2006 #3 1DMF Programmer Jan 18, 2005 8,795 GB http://www.w3schools.com/css/pr_dim_line-height.asp "In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you. Upvote 0 Downvote
http://www.w3schools.com/css/pr_dim_line-height.asp "In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
Oct 11, 2006 #4 traingamer Programmer Jun 18, 2002 3,270 US 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 Upvote 0 Downvote
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
Oct 11, 2006 #5 ChrisHunt Programmer Jul 12, 2002 4,056 GB Actually, you're probably better off putting Code: p { line-height: 1.4 } See http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ for why. -- Chris Hunt Webmaster & Tragedian Extra Connections Ltd Upvote 0 Downvote
Actually, you're probably better off putting Code: p { line-height: 1.4 } See http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ for why. -- Chris Hunt Webmaster & Tragedian Extra Connections Ltd
Oct 12, 2006 #6 traingamer Programmer Jun 18, 2002 3,270 US Of course. I just 'cut and pasted' one example from w3schools. (I just read that Eric Meyer posting a couple of days ago, too.) Greg "Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill Upvote 0 Downvote
Of course. I just 'cut and pasted' one example from w3schools. (I just read that Eric Meyer posting a couple of days ago, too.) Greg "Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill