Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the minimum height for an element.
Syntax
{ min-height : sMinHeight } |
object . style.minHeight ( v ) [ = sMinHeight ] |
Possible Values
sMinHeight | Variant that specifies or receives the minimum height for an element.
|
The property is read/write for all objects except the following, for which it is read-only: currentStyle . The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited.
Remarks
With Internet Explorer 6, this property applies only to td , th and tr elements in fixed-layout tables. Auto-layout tables are the default. To create a fixed-layout table, set the tableLayout property of a table element to fixed . The advantage of fixed-layout tables is they render faster than auto-layout tables.
Example
The following example shows the benefits of using the min-height attribute over the HEIGHT attribute for a TR element.
<HTML>
Standards Information
This property is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) .
Applies To
|
currentStyle , style , runtimeStyle , TD , TH , TR |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |