By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

CSS min-width Property

Edited: 2011-08-16 13:22

The min-width Property of CSS is used to define a minimum width for elements.

Note. Its recommended to give your percentage based layouts a max-width, and min-width.

You can use our StyleSheet Selector to allow your users to control the max-width.

Possible Values

Read: Units of Measurement, to understand the many possible values.

Example:

#Basement {
  width: 90%;
  min-width: 728px;
}

Inherited? - NO!