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:

Easy to understand and practical books to help you become a professional

CSS Related Book: CSS Anthology: 101 Essentials Tips, Tricks & Hacks (more info)

Web Design Related Book: BYO Web Site The Right Way (more info)

Website Related Book: Simply JavaScript (more info)


See more CSS & web design books »


Previous Chapter: Chapter 14 - CSS Lists

Next Chapter: Chapter 16 - CSS Classification

Valid XHTML 1.1! Valid CSS!

CONTENT © 2004-2007 CSS BASICS, a site by Enthropia Inc.
Terms of Use  -   Accessibility  -   Feedback