Height
{height: XXunits/%}The height property lets you set the height of an element.
Height can be specified using absolute or relative units. Relative units calculate the height of an element using the height of the element's containing block. It's illegal to use negative values for height. The height property cannot be applied to table columns.
Example:
img {height: 150px}
If you are using a CSS-enabled browser, the Project Cool logo has a height of 150 pixels.
img {height: 2cm}
If you are using a CSS-enabled browser, the Project Cool logo has a height of 2 centimeters.
img {height: 50%}
If you are using a CSS-enabled browser, the Project Cool logo is half as tall as this browser window.