Page layout
Introduction
Whitespace
Margins
Using the margin property for positioning
Centering
Centering text
Centering an element
Add color with the border and background properties
The border property
The padding property
Indenting and outdenting
The headings
The text
Links with classes
Different types of links
Combining link and class selectors
Navigation bars
Building a navigation bar
The cascade
Descendant selectors
Importing style sheets
Managing style at large sites
The @import rule
Real world CSS
Introduction
CSS and HTML validation
How to validate an HTML Document
CSS validation
Adaptability and accessibility
Controlling web pages
Why does it matter?
Adaptability is accessibility
Making it happen - percentages and ems, fonts and page layouts
Fonts
Page layout
Colors
browser support
"It doesn't work": a word of warning
The difficulties: partial support, buggy support, no support
No support
Partial and buggy support
Missing features
Broken features
CSS problems in Netscape 4
Tables
The background-image property
Relative URLs
Using margin, padding and border on inline elements
Techniques for dealing with Netscape 4
Server side
Client side
Netscape's @import bug
Forget Netscape
Lowest common denominator
Tables and CSS
The table and td selectors
Styling a table
Borders and background colors
The border-collapse property
Using a class selector in tables
The width and height properties
Descendant selectors revisited |