Sets or retrieves the minimum height for an element.
HRESULT value = object.put_minHeight( v);HRESULT value = object.get_minHeight(* p);
The minimum height for an element.
Floating-point number followed by an absolute units designator (
pc) or a relative units designator (
px). For more information about the supported length units, see CSS Values and Units Reference.
Integer followed by a percent sign (%) that specifies a percentage of the containing block height to use as the minimum height of the element. If the height of the containing block is not explicitly set, then the element has no minimum height and the IHTMLRuleStyle4::minHeight property is interpreted as 0%. For Internet Explorer 6, information on containing blocks and how the height is computed, see the Cascading Style Sheets, Level 2 (CSS2) specification. For Internet Explorer 7, see the Cascading Style Sheets, Level 2.1 (CSS2.1) specification.
|Applies To||All elements|
- CSS 2.1, Section 10.7
In Internet Explorer 6, this property applies only to td, th, and tr elements in fixed-layout tables. To create a fixed-layout table, set the IHTMLCurrentStyle::tableLayout property of a table element to
fixed. The advantage of a fixed-layout table is that it renders faster than an auto-layout table. Auto-layout tables are the default.
In Internet Explorer 7, the IHTMLRuleStyle4::minHeight/IHTMLStyle5::maxHeight attributes apply to floating and absolutely positioned block, inline-block elements, and some intrinsic controls. They do not apply to non-replaced inline elements, such as table columns and row/column groups. (A "replaced" element has intrinsic dimensions, such as an img or textArea.)
In Internet Explorer 7, this property is enabled only under the strict !DOCTYPE.
Minimum supported client
|Windows XP [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
- Other Resources
- Cascading Style Sheet Compatibility in Internet Explorer 7
- CSS Enhancements in Internet Explorer 6