Contents Index Topic Contents | ||
Previous Topic: font-weight Next Topic: hover |
height
Description
Specifies the height of a positioned element. Percentage values are based on the width of the parent element.
The height attribute, like all other CSS attributes, specifies a string value. When scripting the height property, use either the pixelHeight or posHeight property for numeric manipulation of a height value.
Syntax
{ height: length | percentage | auto}
Remarks
This attribute is not inherited.
Applies To
TABLE, INPUT, TEXTAREA, INPUT type=button, DIV, SPAN, OBJECT, APPLET, EMBED, IFRAME, IMG, HR, MARQUEE, FIELDSET
Scripting Property
See Also
width, top, left, posHeight, pixelHeight
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.