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.
Click the Show Me button to see a working example.
转自:http://msdn.microsoft.com/en-us/library/ms533024(VS.85).aspx
本文档介绍如何使用DHTML对象模型访问网页上元素的尺寸和位置属性。通过示例页面展示了相对定位div元素的特性,包括溢出属性设置为滚动时显示滚动条的效果。
2万+

被折叠的 条评论
为什么被折叠?



