My text line spacing is too close and I need to add a little more space between the lines. My entire website is like this. Is there a way I can do this with css. See link.Thanks
http://www.ifcnc.com/services.html
My text line spacing is too close and I need to add a little more space between the lines. My entire website is like this. Is there a way I can do this with css. See link.Thanks
http://www.ifcnc.com/services.html
Yes, the line-height property.
http://www.w3.org/TR/CSS21/visudet.html#line-height
Corrections to my coding/thoughts welcome.
If it's for the entire website, then you could implement this into your CSS file:
Change the 16px to whatever size fits the best. G'luckCode:body { line-height:16px; }![]()
You can use pixels on line height? My understanding of line height was that it was a fixed number (1.2) which was then multiplied by the font size of the element.
Corrections to my coding/thoughts welcome.
Yes you can. In fact, you can test it out here:
http://www.w3schools.com/css/tryit.a...e-height_pixel
Check your CSS sheet, in this file your enter one more lign with "space-content" and you define the space in px
Bookmarks