Chapter 15 : CSS Width and Height Properties

Posted by Muhammad Shiraz Kamboh Sunday 27 May 2012 0 comments
Inherited: No

Height

You can control the height of an element with the height property
height: value;


Values:
  • auto
  • length
  • percentage

Line Height

You can control the height between lines with the line-heightproperty
line-height: value;
Values:
  • normal
  • number
  • length
  • percentage

Max Height

You can control the maximum height of an element with themax-height property
max-height: value;
Values:
  • none
  • length
  • percentage

Min Height

You can control the minimum height of an element with the min-height property
min-height: value;
Values:
  • length
  • percentage

Width

You can control the width of an element with the width property
width: value;
Values:
  • auto
  • length
  • percentage

Max Width

You can control the maximum width of an element with themax-width property
max-width: value;
Values:
  • none
  • length
  • percentage

Min Width

You can control the minimum width of an element with the min-width property
min-width: value;
Values:
  • length
  • percentage

Popular Posts

About Me

My photo
I create this Blog for learn the all kind of tutorial about web developing | HTML, Java, PHP, Graphic designing, Corel Draw, Photoshop, Micromedia Flash, Swish and many more related software and internet programming tutorials.

Followers

Blog Archive