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

bottom Attribute | bottom Property

Internet Development Index

Sets or retrieves the bottom position of the object in relation to the bottom of the next positioned object in the document hierarchy.

Syntax

HTML { bottom : sBottom }
Scriptingobject.style.bottom [ = sBottom ]

Possible Values

sBottomVariant that specifies or receives one of the following values.
autoDefault. Default position, according to the regular HTML layout of the page.
lengthFloating-point number, followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). For more information about the supported length units, see CSS Length Units Reference.
percentageInteger, followed by a percent sign (%). The value is a percentage of the height of the parent object.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of auto. The Cascading Style Sheets (CSS) attribute is not inherited.

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

The bottom attribute should be used only when the position attribute is set; otherwise, the value of the bottom attribute is ignored.

Because the value of the bottom property is a string, the property cannot be used in script to calculate the position of the object in the document; instead, the pixelBottom property or the posBottom property should be used.

For more information about how to access the dimension and location of objects on the page through the Dynamic HTML (DHTML) object model, see Measuring Element Dimension and Location.

Example

This example uses the bottom attribute to set a div object 50 pixels from the bottom of the client area.

<DIV STYLE = "position:absolute; bottom:50px">
. . .
</DIV>

Standards Information

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

Applies To

A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, BUTTON, CENTER, CITE, CODE, currentStyle, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, FIELDSET, FONT, FORM, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PRE, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TEXTAREA, TT, U, UL, VAR, XMP

See Also

pixelTop, posTop
岱山县| 泸西县| 黑水县| 舞钢市| 景泰县| 田林县| 广南县| 花莲市| 柏乡县| 镇赉县| 云和县| 庆安县| 鹰潭市| 寻乌县| 泰顺县| 武陟县| 沂南县| 舒兰市| 镇宁| 社会| 宜兰市| 巴塘县| 湖州市| 广宗县| 云阳县| 额济纳旗| 安远县| 文安县| 大足县| 晋江市| 宣武区| 柘城县| 府谷县| 宁陵县| 博野县| 贵溪市| 安仁县| 咸阳市| 宜兴市| 新邵县| 九龙城区|