skyvia
07 Mar 2011, 01:19 AM
How do I fix the line height in css. i.e. I have a header, under it (with very litle space between the lines) I want a text. Rosetta Stone Spanish[/URL]The header is a H1 and the text under is unspecified, but the font size differ.
resdog
07 Mar 2011, 08:13 AM
If you have two elements (an h1 and another underneath), it isn't line height is that's your problem, it's margin. Since paragraph elements are normally block elements, you will need to address the margin property.
h1 {
margin-bottom: 10px;
}
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.