how about setting up the height of DIV using javaScript.
This Function will return full page height.
function getPageSizeWithScroll(){ if (window.innerHeight && window.scrollMaxY) {// Firefox yWithScroll = window.innerHeight + window.scrollMaxY; xWithScroll = window.innerWidth + window.scrollMaxX; } else if (document.body.scrollHeigh
}
Then use another function with onClick event to set page height up.
function setDivHeight(obj) {
h = getPageSizeWithScroll(){
document.getElementById(ob
}
add this ...
onClick="setDivHeight('DIV
also dont forget to remove height Code from CSS.
Main Topics
Browse All Topics





by: TNamePosted on 2007-05-30 at 08:09:12ID: 19180644
Set all it's ancestor elements' height to 100%, including html and body:
html, body {height:100%;}
#theMasksParent {height:100%;}
and so on...