본문 바로가기

Dev Story/dev

Internet Explorer 7.0 Element Dimension and Location

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.





출처 : MSDN (http://msdn2.microsoft.com/en-us/library/ms533024(VS.85).aspx)

'Dev Story > dev' 카테고리의 다른 글

간단한 함수 처리시간 측정  (0) 2008.06.10
Mylyn에서 사용되는 아이콘 종류  (0) 2008.01.30
위키 편집 문법  (0) 2008.01.03
<form> 공백 없애기  (1) 2008.01.03
IE Hacks  (0) 2008.01.02