My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
CSS Cookbook
By
Christopher Schmitt
August 2004
Pages: 270
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
Chapter 1
Web Typography
Introduction
Specifying Fonts and Inheritance
Specifying Font Measurements and Sizes
Enforcing Font Sizes
Setting a Simple Initial Cap
Setting a Larger, Centered Initial Cap
Setting an Initial Cap with Decoration (Imagery)
Creating a Heading with Stylized Text
Creating a Heading with Stylized Text and Borders
Stylizing a Heading with Text and an Image
Creating a Pull Quote with HTML Text
Creating a Pull Quote with Borders
Creating a Pull Quote with Images
Setting the Indent in the First Line of a Paragraph
Setting the Indent of Entire Paragraphs
Setting Text to Be Justified
Styling the First Line of a Paragraph
Styling the First Line of a Paragraph with an Image
Creating a Highlighted Text Effect
Changing Line Spacing
Chapter 2
Page Elements
Introduction
Eliminating Page Margins
Coloring the Scrollbar
Centering Elements on a Web Page
Setting a Background Image
Creating a Line of Background Images
Placing a Background Image
Fixing the Background Image
Placing a Page Border
Customizing a Horizontal Rule
Example Design: Setting Up a Dynamic Splash Page
Chapter 3
Links and Navigation
Introduction
Removing Underlines from Links
Setting Text to Blink
Setting Style Decorations Other Than Underlines
Changing Cursors
Creating Rollovers Without JavaScript
Creating Nongraphical Menus with Rollovers
Creating Collapsible Menus
Building Horizontal Menus
Creating Breadcrumb Navigation
Creating Image-Based Rollovers
Designing a Dynamic Visual Menu
Creating Contextual Menus
Chapter 4
Lists
Introduction
Changing the Format of a List
Writing Cross-Browser Indentation in Lists
Creating Custom Text Markers for Lists
Creating Custom Image Markers for Lists
Creating Inline Lists
Making Hanging Indents in a List
Moving the Marker Inside the List
Chapter 5
Forms
Introduction
Setting Styles for Input Elements
Setting Styles for textarea Elements
Setting Styles for Select and Option Elements
Creating Form Buttons
Setting Up a Submit-Once-Only Button
Designing a Web Form Without Tables
Sample Design: A Login Form
Sample Design: A Registration Form
Chapter 6
Tables
Introduction
Setting the Cell Spacing
Setting the Borders and Cell Padding
Setting the Styles Within Table Cells
Removing Gaps from Table Cells with Images
Setting Styles for Table Header Elements
Sample Design: An Elegant Calendar
Chapter 7
Page Layouts
Introduction
Developing Hybrid Layouts Using HTML Tables and CSS
Building a One-Column Layout
Building a Two-Column Layout
Building a Two-Column Layout with Fixed-Width Columns
Creating a Flexible Multicolumn Layout with Floats
Creating a Fixed-Width Multicolumn Layout with Floats
Creating a Flexible Multicolumn Layout with Positioning
Creating a Fixed-Width Multicolumn Layout with Positioning
Designing an Asymmetric Layout
Chapter 8
Print
Introduction
Creating a Printer-Friendly Page
Making a Web Form Print-Ready
Inserting URLs After Links
Sample Design: A Printer-Friendly Page with CSS
Chapter 9
Hacks and Workarounds
Introduction
Hiding Certain Styles from Netscape Navigator 4.x
Delivering Alternative Values to Internet Explorer 5.x for Windows
Removing Web Page Flicker in Internet Explorer 5.x for Windows
Keeping Background Images Stationary in Internet Explorer 6 for Windows
Keeping CSS Rules from Internet Explorer 5 for Macintosh
Chapter 10
Designing with CSS
Introduction
Enlarging Text Excessively
Creating Unexpected Incongruity
Combining Unlike Elements to Create Contrast
Leading the Eye with Contrast
Building a Panoramic Image Presentation
Combining Different Image Formats
Making Word Balloons
Emphasizing a Quotation
Placing a Drop Shadow Behind an Image
Appendix A
Resources
Discussion Groups
References
Tools
Design Resources
Colophon
Return to
CSS Cookbook