Measurement and location properties in quirks mode

Dynamic HTML (DHTML) exposes measurement and location properties that you can use to change the size and position of HTML elements on your web pages. When you understand what these properties are and how they affect elements on a page, you can achieve greater control over the appearance of your web pages. For example, you can use these properties to design pages that are similar to documents in other applications, such as Microsoft PowerPoint or Microsoft Word. This topic includes the following sections, which explain how to use measurement and location properties to control the appearance of a web page.

Note

This topic describes the layout and positioning properties of a page rendered in Microsoft Internet Explorer's Quirks mode. You do not need to define a !DOCTYPE for the examples in this topic to function properly. For layout and positioning information under the strict rendering mode, see Measurement and location properties in strict mode.

The examples in the topics below assume that you are familiar with a client-side scripting language, such as JavaScript, Microsoft JScript, or Microsoft Visual Basic, Scripting Edition (VBScript). You should also be familiar with the World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Ee371302.xtlink_newWindow(en-us,Expression.40).png and cascading style sheets.

See also

Concepts

Layout fundamentals in quirks mode
Measurement fundamentals in quirks mode
Location fundamentals in quirks mode
Positioned elements in quirks mode
How to use measurement and location properties in quirks mode

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.