aaronjonmartin
Technical User
Hi,
Im currently building my site and positioning it with css. I have tried to make the nav display on top of everything by giving it a high z-index. My page so far looks fine in Mozilla however in IE the header div (which the nav is relative to) stretches for some reason? Can anybody tell me how i can rectify this?
The page is located at
And here is my css:
"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)
Im currently building my site and positioning it with css. I have tried to make the nav display on top of everything by giving it a high z-index. My page so far looks fine in Mozilla however in IE the header div (which the nav is relative to) stretches for some reason? Can anybody tell me how i can rectify this?
The page is located at
And here is my css:
Code:
html, body{
margin:0;
padding:10px 0 0;
height: 100%;
text-align:center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
#pagewidth{
width:750px;
height: 100%;
text-align:left;
min-width: 500px;
margin-left:auto;
margin-right:auto;
}
#header {
width: 750px;
height: 165px;
padding: 0px;
border-top: 1px solid #000000;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
background: #FFFFFF url(images/header.jpg) no-repeat;
}
#content {
width: 750px;
height: 450px;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
}
#footer {
width: 750px;
height: 23px;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
background: #0E7CA7;
}
#nav {
width: 206px;
height: 414px;
z-index: 50;
position: relative;
left: 12px;
top: 105px;
background: #FFFFFF url(images/nav.jpg) no-repeat;
}
"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)