CSS Max-height Property

Posted The: 02/06/2008 At: 6:13

Last Edited: 15/08/2008 At: 18:49

The max-height Property of CSS is used to define the maximum height for elements.

Note. Its recommended to give textareas a max-height and max-width, since new browsers may allow users to resize this element.

Possible Values

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

Example:

form textarea {
  min-width: 150px;
  max-width: 400px;
  min-height: 250px;
  max-height: 400px;
}

Inherited? - NO!

Comments: [0]

© Brugbart Webdesign