Reply to Re: Seeking Mac and Linux Beta Testers

Your name:

Reply:


Posted by Michael Winter on 12/22/66 11:24

[Follow-ups trimmed to a.html]

On 20/08/2005 22:47, Toby Inkster wrote:

[snip]

> Alternatively, try replacing the proprietary "document.documentElement"
> with "document.body", which is overall better supported.

The documentElement property isn't proprietary. It's defined in the W3C DOM.

documentElement of type Element, readonly
This is a convenience attribute that allows direct access to the
child node that is the root element of the document. For HTML
documents, this is the element with the tagName "HTML".

-- DOM 2 Core, 1.2 - Fundamental interfaces, Document interface

When in "Standards" mode, IE treats the HTML element as the canvas (not
BODY), so various dimension-related properties should be read from there.

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация