HTML, XHTML and CSS All-In-One for Dummies - Andy Harris [1]
Doing it on your own pages
Changing CSS on the fly
Creating Your Own Color Scheme
Understanding hue, saturation, and value
Using the Color Scheme Designer
Selecting a base hue
Picking a color scheme
Book II: Chapter 2: Styling Text
Setting the Font Family
Applying the font-family style attribute
Using generic fonts
Making a list of fonts
The Curse of Web-Based Fonts
Understanding the problem
Examining possible solutions
Using images for headlines
Specifying the Font Size
Size is only a suggestion!
Using the font-size style attribute
Absolute measurement units
Relative measurement units
Determining Other Font Characteristics
Using font-style for italics
Using font-weight for bold
Using text-decoration
Using text-align for basic alignment
Other text attributes
Using the font shortcut
Working with subscripts and superscripts
Book II: Chapter 3: Selectors, Class, and Style
Selecting Particular Segments
Defining more than one kind of paragraph
Styling identified paragraphs
Using Emphasis and Strong Emphasis
Adding emphasis to the page
Modifying the display of em and strong
Defining Classes
Adding classes to the page
Combining classes
Introducing div and span
Organizing the page by meaning
Why not make a table?
Using Pseudo-Classes to Style Links
Styling a standard link
Styling the link states
Best link practices
Selecting in Context
Defining Multiple Styles at Once
Book II: Chapter 4: Borders and Backgrounds
Joining the Border Patrol
Using the border attributes
Defining border styles
Using the border shortcut
Creating partial borders
Introducing the Box Model
Borders, margin, and padding
Positioning elements with margins and padding
Changing the Background Image
Getting a background check
Solutions to the background conundrum
Manipulating Background Images
Turning off the repeat
Making effective gradients with repeat-x and repeat-y
Using Images in Lists
Book II: Chapter 5: Levels of CSS
Managing Levels of Style
Using local styles
Using an external style sheet
Understanding the Cascading Part of Cascading Style Sheets
Inheriting styles
Hierarchy of styles
Overriding styles
Precedence of style definitions
Using Conditional Comments
Coping with incompatibility
Making Internet Explorer–specific code
Using a conditional comment with CSS
Checking the Internet Explorer version
Book III: Using Positional CSS
Book III: Chapter 1: Fun with the Fabulous Float
Avoiding Old-School Layout Pitfalls
Problems with frames
Problems with tables
Problems with huge images
Problems with Flash
Introducing the Floating Layout Mechanism
Using float with images
Adding the float property
Using Float with Block-Level Elements
Floating a paragraph
Adjusting the width
Setting the next margin
Using Float to Style Forms
Using float to beautify the form
Adjusting the fieldset width
Using the clear attribute to control page layout
Book III: Chapter 2: Building Floating Page Layouts
Creating a Basic Two-Column Design
Designing the page
Building the XHTML
Adding preliminary CSS
Using temporary borders
Setting up the floating columns
Tuning up the borders
Advantages of a fluid layout
Building a Three-Column Design
Styling the three-column page
Problems with the floating layout
Specifying a min-height
Building a Fixed-Width Layout
Setting up the XHTML
Using an image to simulate true columns
Building a Centered Fixed-Width Layout
Making a surrogate body with an all div
How the jello layout works
Limitations of the jello layout
Book III: Chapter 3: Styling Lists and Menus
Revisiting List Styles
Defining navigation as a list of links
Turning links into buttons
Building horizontal lists
Creating Dynamic Lists
Building a nested list
Hiding the inner lists
Getting the inner lists to appear on cue
Building a Basic Menu System
Building a vertical menu with CSS
Building