min-width

Support Key: [CSS2] [N6|O4]
Other Dimension Properties
width
max-width
line-height
height
min-height
max-height
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
Browser dependent
Applicable Elements:
All except inline non-replaced and table elements
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
NA
What is it?
This property allows a minimum width to be set for an element box. The calculation for the element's width may be greater than this value, but if the value falls below this value it will recompute the width based on the 'min-width' value. If the value of 'min-width' is greater than the value of 'max-width', the 'max-width' property value becomes the 'min-width' value. If the calculated value for the 'width' property is less than the 'min-width' value, the calculations are done again using the 'min-width' value as the value for the 'width' property.

Additionally, the browser may have its own minimum allowable width for a specific element type. If the specified 'min-width' is less than this value for an element, the browser default minimum width may be used in its place.

Allowed Values
inherit
[CSS2] [N6|O4]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
[length]
[CSS2] [N6|O4]
Type: Explicit
Description:
Refers to an absolute measurement for the minimum computed element box width. Negative values are not allowed.
[percentage]
[CSS2] [N6|O4]
Type: Calculated
Description:
Refers to a percentage width of the containing element block.
Example
Ext/Doc: h5 { min-width: 100px }
In-Line:  <h5 STYLE="min-width: 100px">text</h5>
Browser Peculiarities

Boring Copyright Stuff....