Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Overviews/Tutorials
 Measuring Element Dimension and Loc...

  Switch on low bandwidth view
Measuring Element Dimension and Location

The following section is designed to help Web authors understand how to access the dimension and location of elements on the page through the Dynamic HTML (DHTML) Object Model.

Understanding Properties That Measure Element Dimension and Location

The diagrams illustrated in this document represent different DHTML Object Model properties for the same page. The sample page contains a div element that is relatively positioned on the page. Since the overflow attribute of the div has been set to scroll and it contains more content than can be displayed within its limited client area, scroll bars are displayed.

diagram of a sample page showing the DHTML Object Model properties that are related to the dimension and location of elements
diagram of a sample page showing the DHTML Object Model properties that are related to the dimension and location of elements
diagram of a sample page showing the DHTML Object Model properties that are related to the dimension and location of elements

Click the Show Me button to see a working example.

This feature requires Microsoft Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Related Topics

Community Content   What is Community Content?
Add new content RSS  Annotations
Requring IE7 for content is lame      Thomas Lee   |   Edit   |   Show History
Like Koekeloer - I use FF3, and being told "This feature requires Microsoft® Internet Explorer 4.0 or later" is really lame. I mean, does anyone even run ID 4 or 5 any more? And I'd argue that anything you see in IE4 should be visible in FF3!
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker