Understand the location and size relationship between the elements in the DHTML page

zhaozj2021-02-12  163

MSDN About DOM (Dynamic HTML Object Model, Document Object Model) The location and size of the element, I think it is useful, it is posted:

English Original:

Measuring element dimension and location

. ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Understanding Properties That Measure Element Dimension and Location

The following diagram of a sample page shows the DHTML Object Model properties that are related to the dimension and location of elements. 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.

Try to translate it, everyone will look at it.

Measuring the size and position of the element

The following is designed to help the Web author uses the Document Object Model (DOM) to access the size and location of the web page elements.

Understand the properties of measurement size and location

The figure below shows the properties of the location and size relationship of the element in the document object model. The page contains a relatively positioned DIV tab. Because the DIV Overflow property is set to Scroll, the scroll bar will be displayed when it appears out of the range.

?

Quoted MSDN Address: MK: @MsitStore: D: /Program Files/MICROSOFT Visual studio/msdn/2000jul/1033/Inet.chm :: / Workshop / Author / om / measure found.htm

转载请注明原文地址:https://www.9cbs.com/read-6945.html

New Post(0)