I am having trouble with the margin disappearing between my Company Logo/Welcome Message on one line and my Top Menu beneath them?!
Here is my code…
<h1 id="companyLogo">
<span></span>Debbie, Inc: Help Starting Your Own Small-Business
</h1>
<!-- Display Welcome -->
<p id="welcome">
<span id="hello">Hello.</span>
<a href="">Log In</a> to access premium content.
Not a Member? <a href="">Start Here</a>
</p>
<!-- Display Top Menu -->
<ul id="topMenu">
h1#companyLogo span{
position: relative;
float: left; /**/
margin: 0;
padding: 0;
width: 220px; /* Image Width. */
height: 36px; /* Image Height. */
overflow: hidden; /* Hide Overflow. */
line-height: 1.0;
font-size: 200%; /* or whatever it needs to be if images are missing */
}
h1#companyLogo span{
position: absolute;
background: url('/images/Debbie_220x36.png') no-repeat 0 0;
left: 0;
top: 0;
}
#topMenu{
[COLOR="#FF0000"] margin: 10px 0 0 0; /**/
[/COLOR] width: 1200px; /* Same size as max-width on #pageWrapper. */
min-height: 0; /* haslayout IE7 for float containment. */
list-style: none; /* No Bullets. */
background: #FFC0CB; /* Pink */
}
Why is that happening?
Debbie