Topic awaiting preservation: XHTML - document.body.clientHeight is always 0? |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-11-2002 05:01
I'm really starting to get annoyed with using the standards properly... Aren't they meant to make my life easier? |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-11-2002 05:24
Ok, now I'm really annoyed. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-11-2002 05:39
That's an easy one! Use document.documentElement.clientHeight instead! |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-11-2002 05:42
"Thanks an easy one!" he says... |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-11-2002 06:00
Just been doing a little more playing with this and I've found that getting the width/height of the inner browser window while using a DTD is now different for the main three, Opera, Mozilla and IE. |
Maniac (V) Mad Scientist From: New California |
posted 10-14-2002 02:39
This really sucks. How are we supposed to move towards standards when the "standards" compliant browsers are still not standard? Agghhh!!! It's so frustrating. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-14-2002 04:57
Hmm. I'm not sure browser interaction is covered in any specifications. ECMA covers the core Javascript language, and the W3C covers the DOM and some special things used to interact with HTML document specifically, but I don't think there's any standard for things that are specific to the environment outside of the web page, like the Screen object or window.open, and all that related stuff. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-14-2002 09:37
Yeah well there should be! |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-14-2002 15:34
Anyone fancy drawing these thigns together in the FAQ? |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-14-2002 15:56
Me and my big mouth. =) |