These sizing attributes occur within many different elements. In general, any valid CSS unit of measurement may be used (please refer to the list of those units).
- Width: refers to the width of an element
- min-width: refers to the minimum width of an element (the element could be larger)
- max-width: refers to the maximum width of an element (the element could be smaller)
- height: refers to the height of the element
- min-height: refers to the minimum height of an element (the element could be larger)
- max-height: refers to the maximum height of an element (the element could be smaller)
The keyword "auto" can also be used. When laying out images, many designers will specify either the width or height of an image, then use the "auto" keyword for the other dimension to help maintain the correct aspect ratios.