You need to change your design strategy. Make it work in FF FIRST, then you spank IE until it behaves. Trust me, you'll save yourself a lot of stress and hair pulling if you go about it that way as opposed to making it work in IE first
One thing you need to do is clear the float that you have in #topnav. You'll need a clearing element just AFTER the closing div tag.
To pull your top nav up, you need to add margin: 0 and padding:0 to .topnav ul
To pull .content back where it belongs, remove the width: 100% - you don't need it anyway. If you don't specify a width other than 100%, the element is going to take up whatever space it has left inside it's parent container. I noticed you have width: 100% all over the place, mostly not necessary.
For the clearing element, I find this method works very well and has no cross-browser issues:
.brclear{
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}
Then add <br class="brclear"> to your html.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|