CSS Cookbook 3e

CSS Cookbook 3e

3.88 (222 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Expected delivery to the United States in 8-11 business days.

Not ordering to the United States? Click here.


This cookbook provides you with hundreds of practical examples for using CSS to format your web pages, complete with code recipes you can use in your projects right away. With "CSS Cookbook", you'll go beyond theory to solve real problems, from determining which aspects of CSS meet the specific needs of your site to methods for resolving differences in the way browsers display it. Arranged in a quick-lookup format for easy reference, the third edition has been updated to explain the unique behavior of the latest browsers: Google Chrome, Apple Safari, Microsoft's IE 8, and Mozilla's Firefox 3. With topics that range from CSS basics to complex hacks and workarounds, this book is a must-have companion, regardless of your CSS experience. Each recipe includes an explanation of how to customize the formatting for your needs, and each chapter features a sample design of the topics discussed. Learn the basics, such as understanding CSS rule structure. Work with web typography and page layout. Create effects for images and page elements. Learn techniques for formatting lists, forms, and tables. Design effective web navigation and create custom links.
Get creative by combining CSS with JavaScript. Learn useful troubleshooting techniques, hacks, and workarounds.
show more

Product details

  • Paperback | 728 pages
  • 175.26 x 233.68 x 40.64mm | 1,179.34g
  • Sebastopol, United States
  • English
  • Revised
  • 3rd Revised edition
  • Illustrations
  • 059615593X
  • 9780596155933
  • 574,478

Table of contents

1. General
1.1 Using CSS with HTML
1.2 Using Different Selectors to Apply Styles
1.3 Determining When to Use Class and ID Selectors
1.4 Understanding CSS Properties
1.5 Understanding the Box Model
1.6 Understanding DOCTYPES and Effects on Browser Layout
1.7 Associating Styles to a Web Page
1.8 How to Use Different Types of Style Sheets
1.9 Adding Comments Within CSS
1.10 Organizing the Contents of a Style Sheet
1.11 Organizing Style Sheet Files
1.12 Working with Shorthand Properties
1.13 Setting up an Alternate Style Sheet
1.14 Using Floats with Images
1.15 Using Absolute Positioning
1.16 Using Relative Positioning
1.17 Using CSS in Adobe Dreamweaver
1.18 Using CSS in Microsoft Expression Web Designer
2. Web Typography
2.1 Specifying Fonts
2.2 Specifying Font Measurements and Sizes
2.3 Gaining More Control over Font Sizes
2.4 Enforcing Font Sizes
2.5 Centering Text
2.6 Setting Text to Be Justified
2.7 Removing Space Between Headings and Paragraphs
2.8 Setting a Simple Initial Cap
2.9 Setting a Larger, Centered Initial Cap
2.10 Setting an Initial Cap with Decoration (Imagery)
2.11 Creating a Heading with Stylized Text
2.12 Creating a Heading with Stylized Text and Borders
2.13 Stylizing a Heading with Text and an Image
2.14 Creating a Pull Quote with HTML Text
2.15 Creating a Pull Quote with Borders
2.16 Creating a Pull Quote with Images
2.17 Setting the Indent in the First Line of a Paragraph
2.18 Setting the Indent of Entire Paragraphs
2.19 Creating a Hanging Indent
2.20 Styling the First Line of a Paragraph
2.21 Styling the First Line of a Paragraph with an Image
2.22 Creating a Highlighted Text Effect
2.23 Changing Line Spacing
2.24 Adding a Graphic Treatment to HTML Text
2.25 Placing Shadow Behind Text
2.26 Adjusting the Spacing Between Letters and Words
3. Images
3.1 Placing a Border Around an Image
3.2 Removing Borders Set on Images by Default in Some Browsers
3.3 Setting a Background Image
3.4 Creating a Line of Background Images
3.5 Placing a Background Image on a Web Page
3.6 Using Multiple Background Images on One Selector
3.7 Creating a Stationary Background Image
3.8 Overlaying HTML Text on an Image
3.9 Replacing HTML Text with an Image
3.10 Replacing HTML Text with Flash Text
3.11 Using Multiple PNGs with Transparency
3.12 Building a Panoramic Image Presentation
3.13 Combining Different Image Formats
3.14 Rounding Corners with Fixed-Width Columns
3.15 Rounding Corners (Sliding Doors Technique)
3.16 Rounding Corners (Mountaintop Technique) 3.17 Rounding Corners with JavaScript
show more

About Christopher Schmitt

Christopher Schmitt is the founder of Heat Vision, a small new media publishing and design firm, based in Cincinnati, OH. An award-winning web designer who has been working with the Web since 1993, Christopher interned for both David Siegel and Lynda Weinman in the mid 90's while he was an undergraduate at Florida State University working on a Fine Arts degree with an emphasis on Graphic Design. Afterwards, he earned a Masters in Communication for Interactive and New Communication Technologies while obtaining a graduate certificate in Project Management from FSU's College of Communication. He is the author of CSS Cookbook, which was named Best Web Design Book of 2006, and one of the first books that looked at CSS-enabled designs, Designing CSS Web Pages (New Riders). He is also the co-author of Adapting to Web Standards (New Riders), Professional CSS (Wrox), Photoshop in 10 Steps or Less (Wiley) and Dreamweaver Design Projects (glasshaus) and contributed four chapters to XML, HTML, and XHTML Magic (New Riders). Christopher has also written for New Architect Magazine, A List Apart, Digital Web and Web Reference. He is the list moderator for Babble, a mailing list community devoted to advanced web design and development topics. With the Web Standards Project, Christopher helps co-lead the Adobe Task Force while contributing to its Education Task Force. On his personal web site, Christopher shows his true colors and most recent activities. He is 6'7" and doesn't play professional basketball but wouldn't mind a good game of chess.
show more

Rating details

222 ratings
3.88 out of 5 stars
5 29% (64)
4 36% (81)
3 29% (64)
2 5% (12)
1 0% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X