|
Get rid of that hideous and deprecated <center> tag. Put a "wrapper" div around the entire layout, set the width to 970px, and set it to margin: 0 auto; to center the entire layout. Also set the wrapper div to position:relative in case you want to position anything inside it, those get positioned relative to the centered wrapper instead of the body.
You have a 960px header, centered inside a 970px #mainheader - so of course it's not going to line up exactly with the rest of your page. You also need to understand the box model and how it works because your ADDING width to the box with margins and padding - which will push things out.
You're also triggering the doubled-float margin bug in IE6 with the float:right with a right margin on the nav in your header.
1 more thing - z-index ONLY works on elements that are absolutely or relatively positioned - putting it on anything else is a waste of time.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
|