What I am trying to do with the code below is have a logo on the top left hand side and a banner on the top right hand side followed all importantly by the navigation bar with links. My issue is that the navigation bar doesnt directly follow just below the images.
Any advice on how to achieve this and why it happens would be greatly appreciated.
CSS
#container
{
width: 100%;
margin:0;
background-color: #fff;
border:0;
padding:0;
}
HTML
<div id="container">
<div style="margin:0 0 2px 0;">
<img src="images/Logo.gif" alt="image 1" style="float:left;" />
<img src="images/banner.gif" alt="image 2" style="float:right;" />
</div>
<div style="border:solid 1px #FF6600;background:#FF6600;width:100%;height:18px;text-align:center;margin:2px;padding:1px;">
<a href="/index.asp">Home</a> <a href="/articles/default.asp">Articles</a>
</div>
</div>
Thanks
Any advice on how to achieve this and why it happens would be greatly appreciated.
CSS
#container
{
width: 100%;
margin:0;
background-color: #fff;
border:0;
padding:0;
}
HTML
<div id="container">
<div style="margin:0 0 2px 0;">
<img src="images/Logo.gif" alt="image 1" style="float:left;" />
<img src="images/banner.gif" alt="image 2" style="float:right;" />
</div>
<div style="border:solid 1px #FF6600;background:#FF6600;width:100%;height:18px;text-align:center;margin:2px;padding:1px;">
<a href="/index.asp">Home</a> <a href="/articles/default.asp">Articles</a>
</div>
</div>
Thanks