Chapter 15 : CSS Width and Height Properties

by Saturday, March 03, 2012 0 comments

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 the max-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 the max-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

Unknown

Network Engg

i am Network Engg in WIPRO