...

View Full Version : dynamic table in firefox and IE



Kindredlord
06-20-2009, 05:40 PM
This code works in IE but not firefox, how do I get it to work in both?

[CODE]
<script>
function setUp(){
document.getElementById('tab').style.width=document.body.clientWidth-193;
document.getElementById('tab').style.height=document.body.clientHeight-162;
}
window.onload=setUp;
window.onresize=setUp;
</script>
[CODE]

udjamaflip
06-22-2009, 02:41 PM
try document.documentElement.clientHeight :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum