How can I fix my line-height?
Hi. I've recently created a website and feel the line-height is a little to big. Whenever I go to fix the line-height it messes up footer for my website. I go to my Template (which is formatted in CSS) and change p, ul, ol {margin-bottom: 2em; text-align: justify; line-height: 200%;} to p, ul, ol {margin-bottom: 2em; text-align: justify; line-height: 100%} I have no clue about websites, and no clue about coding-but does anyone have a guess what I'm doing to mess up my site, or what I can do to fix this?
Public Comments
- It is hard to say without seeing either your web site or the code you are using for the footer. My suggestion would be to make the footer have a class. Just say you have this for the footer. <p>This is the footer</p> Then you could change it to something like this: <p class="footer">This is the footer</p> Then apply the changes as your normally do to the line height. Have something like this in your css file. #footer{ whatever you had for the footer previously } It could easily be: #footer {margin-bottom: 2em; text-align: justify; line-height: 200%;}
Powered by Yahoo! Answers