最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

bottom Property

Internet Development Index

Set or retrieves the bottom coordinate of the rectangle surrounding the object content.

Syntax

TextRectangle.bottom [ = iCoord ]

Possible Values

iCoordInteger that specifies or receives the bottom coordinate of the rectangle, in pixels.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

This syntax shows how to access the bottom coordinate of the second text rectangle of a TextRange object.

oRct = oTextRange.getClientRects();
oRct[1].bottom;

Note that the collection index starts at 0, so the second item index is 1.

This syntax shows how to access the bottom coordinate of the bounding rectangle of an element object.

oBndRct = oElement.getBoundingClientRect();
oBndRct.bottom;

Example

This example uses the getBoundingClientRect method to retrieve the coordinates of the bounds of the text rectangles within the element.

<SCRIPT>
function getCoords(oObject) {
oBndRct=oObject.getBoundingClientRect();
alert("Bounding rectangle = \nUpper left coordinates: "
+ oBndRct.left + " " + oBndRct.top +
"\nLower right coordinates: "
+ oBndRct.right + " " + oBndRct.bottom);
}
</SCRIPT>
</HEAD>
<BODY>
<P ID=oPara onclick="getCoords(this)">
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) Non-Microsoft link.

Applies To

TextRectangle

See Also

left, right, top, TextRectangle, TextRectangle Collection
简阳市| 屯留县| 郑州市| 满洲里市| 正镶白旗| 鸡东县| 黄冈市| 兰西县| 汉寿县| 安达市| 邻水| 鹤峰县| 宽甸| 西乡县| 莫力| 老河口市| 泰顺县| 全南县| 宽城| 邵东县| 黄冈市| 青河县| 民丰县| 万源市| 白山市| 承德县| 定陶县| 福海县| 绥芬河市| 西充县| 上栗县| 灵丘县| 永州市| 彭泽县| 韶山市| 和林格尔县| 南乐县| 赣榆县| 民权县| 珠海市| 西畴县|