Jump to content
Blue_tac

Perfect in FF, but not in IE

Recommended Posts

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;}

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...