Hi, i'm having a problem with the 'margin-top' property. Here's my current html and css -
HTML -
<div id="nav"> <div id="navwrap">
<ul>
<li><a href="index.php"><img src="images/frame/homebtn.gif" width="63" height="20" /></a></li>
<li><a href="portfolio.php"><img src="images/frame/portfoliobtn.gif" width="93" height="20" /></a></li>
<li><a href="contact.php"><img src="images/frame/contactbtn.gif" width="84" height="20" /></a></li>
</ul> </div>
</div>
CSS -
#nav{
width:100%;
height:70px;
background-image:url(../images/frame/nav_1.gif);
}
#navwrap{
margin-left:76px;
margin-top:15px;
}
Everytime i add the 'margin-top:15px' to the 'navwrap' div it applies it to the 'nav' div.
Any ideas?
Thanks