raghu207
01-12-2008, 07:06 AM
I have an absolutely positioned element (image) at the very bottom of the page which is about 20px in height using this css:
#bottomdiv {
position:absolute;
bottom:0;
}
Now, i want another div to extend from *nearly* the top of the page to right above the absolutely positioned element. I cannot set this div height in px as i am trying to make it resolution independent.
I did this by setting the following css rule to the element:
#mydiv {
position:absolute;
top:5%;
bottom:10pt;
border:1px solid #333333;
}
but it does not work in IE6! :(
How can i make this work?
Thanks in advance!
raghu207
#bottomdiv {
position:absolute;
bottom:0;
}
Now, i want another div to extend from *nearly* the top of the page to right above the absolutely positioned element. I cannot set this div height in px as i am trying to make it resolution independent.
I did this by setting the following css rule to the element:
#mydiv {
position:absolute;
top:5%;
bottom:10pt;
border:1px solid #333333;
}
but it does not work in IE6! :(
How can i make this work?
Thanks in advance!
raghu207