08-CSS Dimension Properties

0
100

The CSS dimension properties allow you to control the height and width of an element.

Setting height and width

The height and width properties are used to set the height and width of an element.
[html]

 

Set height and width of an Element given here:

This div element has a height of 1000px and a width of 5000px.

 

[/html]

Set height and width of an Element given here:

This div element has a height of 1000px and a width of 5000px.

 

Facebook Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.