OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
document.height cant be 0???
This page's ID:
23844
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I've written this basic javascript to set to divs to the height of my document. [code] function setRails() { docHeight = document.height; alert(docHeight); leftRail = document.getElementById("left"); rightRail = document.getElementById("right"); leftRail.style.height = docHeight + "px"; rightRail.style.height = docHeight + "px"; } [/code] its run at onload. However docHeight always equals 0, how come? [img]http://pegasus.cc.ucf.edu/~co097871/schitzo88x31.gif[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »