It's not really a matter of 'proper', you've done nothing wrong, per se.
What you DO have in IE is a problem with the doubled-float margin bug :
Quote:
.nav {
float:left;
margin: 50px 0px 0px 150px;
padding: 3px 3px 3px 3px;
background-color: #3c3f3a;
border-left-width: thick;
border-left-style: solid;
border-left-color: #212321;
}
|
This bug crops up when you float: left and then add a left margin (or float right w/right margin) - IE will DOUBLE the margin width. So, in IE, your 150px left margin turns into 300 !!!
You can read more about the bug here.. including the solution:
http://www.positioniseverything.net/...ed-margin.html
You're going to have to get used to using conditional comments and at least 2 css files, 1 for everything else, and 1 for the bug fixes for IE 6 and below.
The solution to this bug is to put display:inline in the rules for #nav - and put it in a new css file JUST for ie fixes.
I would also suggest, as Beta did, that you wrap the WHOLE layout in a #container div with a position:relative property.
__________________
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
|