CSS Basics.com



Chapter 15 - CSS Width and Height Properties

Inherited: No

Height

You can control the height of an element with the height property

height: value;

Values:

Line Height

You can control the height between lines with the line-height property

line-height: value;

Values:

Max Height

You can control the maximum height of an element with the max-height property

max-height: value;

Values:

Min Height

You can control the minimum height of an element with the min-height property

min-height: value;

Values:

Width

You can control the width of an element with the width property

width: value;

Values:

Max Width

You can control the maximum width of an element with the max-width property

max-width: value;

Values:

Min Width

You can control the minimum width of an element with the min-width property

min-width: value;

Values:


Previous Chapter: Chapter 14 - CSS Lists

Next Chapter: Chapter 16 - CSS Classification

Valid XHTML 1.1! Valid CSS!

CONTENT © 2004-2008 CSS BASICS, a site by Splashpress Media.
Content written by Ben Partch with contributions from Paul O'Brien & Vinnie Garcia.
Terms of Use  -   Accessibility  -   Feedback