Tuesday, October 12, 2010

CSS Height and Width

CSS includes properties height and width to help you specify the size of your items.

'height' & 'width' Properties
Applies to all HTML elements except non-replaced inline, table columns and column groups.
Example
<div style="background-color:#FF0000;height:130px;width:100px;">
This div has height and width applied.
</div>

This results in:
This div has height and width applied.

No comments:

Post a Comment