最新国产好看的视频,伊人天堂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
特克斯县| 宜州市| 沙雅县| 习水县| 淮阳县| 灵山县| 贡山| 锡林浩特市| 平定县| 万山特区| 濮阳县| 五寨县| 平山县| 安康市| 肥城市| 通榆县| 古交市| 镇巴县| 赞皇县| 庐江县| 赣榆县| 肥西县| 海门市| 乌兰浩特市| 璧山县| 浮山县| 尼木县| 庆安县| 昆明市| 阳山县| 辉县市| 滨海县| 红桥区| 丹江口市| 兰考县| 六枝特区| 石狮市| 会同县| 浮梁县| 铅山县| 磐安县|