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

HEIGHT Attribute | height Property

Internet Development Index

Sets or retrieves the height of the object.

Syntax

HTML<ELEMENT HEIGHT = sHeight... >
Scriptingobject.height [ = sHeight ]

Possible Values

sHeightVariant that specifies or receives one of the following values.
heightInteger that specifies the height of the object, in pixels.
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: FRAME. 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

If the height property of an img is specified, but the width property is not specified, the resulting width of the img is sized proportionally according to the specified height property and the actual width (in pixels) of the image in the source file.

Consider the following:
Dimensions of image in source file (pixels):100 X 50 (W X H)
Specified image height:2in
Specified image width:not specified
Resulting image height:2in
Resulting image width:4in ((100 / 50) * 2 inches)

If you specify the height property of an img, and the height and width of the image in the source file are identical, the width of the image matches the height.

If you specify the height property and the width property of an img, the resulting image dimensions matches those specified.

Percentage values are based on the height of the parent object.

When scripting the height property, use either the pixelHeight or posHeight property to numerically manipulate the height value.

If dynamic changes are intended for the height and width, the original values should be set through style (e.g. "style=''height:200px; width:200px'') rather than through the height and width attributes.

This property specifies the calculated height of the object, in pixels. For table rows and table cells, this property has a range of 0 to 32750 pixels.

If you set the value of the corresponding HTML attribute using a percentage, this property specifies the height, in pixels, represented by that percentage.

The scripting property is read/write for the img object, but read-only for other objects.

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

Standards Information

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

EMBED, FRAME, IFRAME, IMG, MARQUEE, NOBR, OBJECT, TABLE, TD, TH, TR
汨罗市| 华蓥市| 禹城市| 茌平县| 集贤县| 安康市| 碌曲县| 高台县| 禹城市| 思茅市| 南宫市| 嘉定区| 青龙| 岫岩| 彰武县| 白山市| 镶黄旗| 开阳县| 黎平县| 温泉县| 长海县| 西盟| 清水河县| 武穴市| 曲松县| 莎车县| 枣强县| 韩城市| 仲巴县| 昌都县| 德惠市| 茂名市| 桑植县| 金乡县| 望城县| 辛集市| 桂林市| 通州区| 湖口县| 汝南县| 古蔺县|