You may be able to get around it by using a "padding" div of 169px height inside your sidebar div and then setting the sidebar and body to 100% height:
So after <div id="sideBar">, insert: <div id="paddingBar"></div> and then change the CSS:
html,body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
height: 100%;
width: 100%;
}
.................
#paddingBar {
height:169px;
}
#sideBar{
position : absolute;
top : 0px;
right : 0px;
width: 217px;
z-index : 1;
padding : 3px;
background-image: url(GLOBAL_IMAGES/layout/s
background-repeat: repeat-y;
color: #7f4e00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
font-weight: bold;
height: 100%;
}
Only thing is you'll have to play around with your z-indexes for the other divs or you won't be able to see them.
Chris.
Main Topics
Browse All Topics





by: biXenPosted on 2005-09-29 at 01:18:27ID: 14981919
It's not recommended in CSS to set a height property like that. I have sometimes done it though, mostly I make a containing div, and have to set it to 98% or so, basically calculate a bit concerning other stuff on the page.