jewishj
11-01-2002, 08:11 AM
Hi,
What is the JavaScript of document.body.clientHeight when using IE 6 with the following doctype/html tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
document.body.clientWidth works fine as does:
screen.width, screen.height, window.innerWidth and window.innerHeight (in NS).
The problem is that document.body.clientHeight always returns 0.
Thanks in advance
What is the JavaScript of document.body.clientHeight when using IE 6 with the following doctype/html tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
document.body.clientWidth works fine as does:
screen.width, screen.height, window.innerWidth and window.innerHeight (in NS).
The problem is that document.body.clientHeight always returns 0.
Thanks in advance