Hi all, I'm making a site with a 165px side-bar, and a main section that needs to span the remainder of the page. This is what I've got in my CSS:
html, body {
width:100%;
height:100%;
}
div.menuframe {
position: absolute;
left: 0px;
top: 0px;
width: 165px;
height: 100%;
z-index: 101;
background: #A3001D url(./images/TableOfContents/menuFrameBG.gif) top left no-repeat;
text-align: center;
}
.mainframe {
position: absolute;
left: 165px;
top: 0px;
right: 0px;
border: none;
width: auto;
height: 100%;
z-index: 100;
}In Mozilla, the right: 0px; properly expands the .mainframe so that it fills the remaining horizontal space, but in IE it's only about 300px wide, and won't expand to the right edge of the window.
Anyone have any suggestions for me?
Aqua-Soft Forums