Herbie Posted November 16, 2006 Share Posted November 16, 2006 Well everything seems to look fine in FF and NS. Of course I can't get that left bar up where it's suppose to be in IE, anyone have any thoughts?The SiteThe CSS/* CSS Document */body { width: 762px; margin-top: 0px; margin-right: auto; margin-left: auto; background-color: #CCCCCC; }#nav { width:120px; position: relative; clear: none;}#content { width: 640px; height: 485px; position: relative; float: right; background-image: url(test/background_1/textbox.jpg);}#left_pics {}#text {}#one { margin: 0px 0px 0px 0px; width:760px; height:105px; border-left-color: #000000; border: solid; border-left-width: 1px; border-top:none; border-bottom:none; border-right:solid #000000 1px; position: relative;} Link to comment Share on other sites More sharing options...
jlhaslip Posted November 16, 2006 Share Posted November 16, 2006 In your html page you have two div'd with the same id="one". That is just about enough to force IE into Quirks mode and trash-can any concept of predictable behaviour. Remove the second id= "one" div (or rename it) and see what happens. Link to comment Share on other sites More sharing options...
Herbie Posted November 16, 2006 Author Share Posted November 16, 2006 In your html page you have two div'd with the same id="one". That is just about enough to force IE into Quirks mode and trash-can any concept of predictable behaviour. Remove the second id= "one" div (or rename it) and see what happens.It was a good point, I had forgot about the only one ID per page. It's been changed, but unfortunatly still doesn't look right in IE. Link to comment Share on other sites More sharing options...
shiftJIS Posted November 18, 2006 Share Posted November 18, 2006 If you add a float:left on your #nav div then it should be where you want it. Link to comment Share on other sites More sharing options...
jlhaslip Posted November 19, 2006 Share Posted November 19, 2006 If you Float the #nav div to the left, place it first in the source code. <div style="height:485px; border-bottom:solid #000000 1px; border-left:solid #000000 1px; border-right:solid #000000 1px"> <div id="nav"> <img src="test/background_1/bottomE.jpg" alt="e" width="120" height="131" /> </div> <div id="content"></div> </div> Link to comment Share on other sites More sharing options...
shiftJIS Posted November 19, 2006 Share Posted November 19, 2006 The #nav div doesn't need to be first. The float will set it where it needs to be regardless. And actually, some people prefer the navigation to come after the content as it'll show up that way in text browsers. Where you put it is up to you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now