Why doesn't IE like this css?
Posted: Fri Jan 07, 2005 6:51 am
Been trying to hack a bit of a better layout for my project using css, It looks how I want in firefox but terrible in IE. http://kzar.co.uk/test/test.htm to see it for yourself.
Here is the css
I'm totaly clueless in how to sort it out, so any ideas would be handy.
Thanks
Here is the css
Code: Select all
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: black;
margin: 0px;
padding: 0px;
position: relative;
}
h1 {
height: 30px;
position: absolute;
left: 0px;
top: 0px;
margin: 0px;
right: 0px;
border-bottom: 1px dashed #666;
background-color: #cccccc;
padding: 5px 5px 5px 5px;
}
div#menu {
background: #EDF4FF;
position: absolute;
top: 40px;
left: 0px;
width: 150px;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
margin-left: 0;
margin-top: 5;
margin-right: 0;
border: 1px black solid;
}
div#stuff {
background: #EDF4FF;
position: absolute;
top: 40px;
left: 160px;
right: 0px;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
margin-left: 5;
margin-top: 5;
margin-right: 5;
border: 1px black solid;
}Thanks