View Single Post
Old 02-11-2013, 05:54 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello johndove,
The one that works the way you like is <p id="tagline">
The one that is too close to the logo is <h1 id="tagline">

Since that is really a heading it should be enclosed in heading tags, like the second example. Once you get all your pages #header-wrap the same you can style that h1 so it appears the same every time.



...oops, forgot the most important part.
This is the main difference between the two, your paragraph tagged tagline gets this where your h1 tagline does not -
Code:
p {
    line-height: 155%;
    margin: 15px 0;
}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

Last edited by Excavator; 02-11-2013 at 05:57 PM..
Excavator is offline   Reply With Quote