Blue_tac Posted October 14, 2005 Share Posted October 14, 2005 Hi, am trying to establish a website: http://www.tardis.ed.ac.uk/~mbe/IEB/Main problem is IE doesn't like the css. It puts the menu all over the place, whereas firefox sets it all up perfectly. Have tried playing with z values to force priorities, and have tried setting positions to absolute and forcing positions, but IE just tends to ignore it anyway.Code attached, any help greatly appreciated: #navbar{ background: #669933; position: absolute; float: left; width: 180px; padding-top: 20px; padding-left: 10px; border-right: 2px dotted silver; text-align: left; z-index: 2;}#body{ position: absolute: left: 200; float: left; padding-left: 210px; margin-left: 10px; padding-right: 10px; text-align: justify; z-index: 1;} Link to comment Share on other sites More sharing options...
F-Man Posted October 14, 2005 Share Posted October 14, 2005 Well, there is no reason to "float" elements that are absolute posionned and your nav bar has no reason to be absolute positioned as well because you didn't set it any position with top, left, etc. So remove the floating and absolute posionning and it should be fine. Link to comment Share on other sites More sharing options...
Blue_tac Posted October 14, 2005 Author Share Posted October 14, 2005 Thanks for replying. The problem now is the menu bar positions itself adjacent to the bottom of the body text (see site) Link to comment Share on other sites More sharing options...
Webworldx Posted October 15, 2005 Share Posted October 15, 2005 Put the NavBar div above the BODY div, and then add FLOAT: left; to the navBar css Link to comment Share on other sites More sharing options...
Blue_tac Posted October 15, 2005 Author Share Posted October 15, 2005 Excellent - many many thanks!!! 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