CSS Cookbook: Quick Solutions to Common CSS Problems

Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of practical examples for using CSS to format your web pages, and includes code samples you can use right away. You'll find exactly what you need, from the basics to complex hacks and workarounds.

Each recipe explains how to customize a solution to meet your needs, and each chapter features a sample design that showcases the topics discussed. You'll learn about the behavior of the latest browsers-including IE 8, Firefox 3, Safari 4, and Google Chrome—and how you can resolve differences in the ways they display your web pages. Arranged in a convenient format for quick reference, this third edition is a valuable companion for anyone working with CSS.

  • Learn the basics, such as the CSS rule structure
  • Work with web typography and page layout
  • Create effects for images and other page elements
  • Learn techniques for configuring lists, forms, and tables
  • Design effective web navigation and create custom links
  • Get creative by combining CSS with JavaScript
  • Learn useful troubleshooting techniques
  • Explore features of HTML5 and CSS3
1100152943
CSS Cookbook: Quick Solutions to Common CSS Problems

Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of practical examples for using CSS to format your web pages, and includes code samples you can use right away. You'll find exactly what you need, from the basics to complex hacks and workarounds.

Each recipe explains how to customize a solution to meet your needs, and each chapter features a sample design that showcases the topics discussed. You'll learn about the behavior of the latest browsers-including IE 8, Firefox 3, Safari 4, and Google Chrome—and how you can resolve differences in the ways they display your web pages. Arranged in a convenient format for quick reference, this third edition is a valuable companion for anyone working with CSS.

  • Learn the basics, such as the CSS rule structure
  • Work with web typography and page layout
  • Create effects for images and other page elements
  • Learn techniques for configuring lists, forms, and tables
  • Design effective web navigation and create custom links
  • Get creative by combining CSS with JavaScript
  • Learn useful troubleshooting techniques
  • Explore features of HTML5 and CSS3
29.99 In Stock
CSS Cookbook: Quick Solutions to Common CSS Problems

CSS Cookbook: Quick Solutions to Common CSS Problems

by Christopher Schmitt
CSS Cookbook: Quick Solutions to Common CSS Problems

CSS Cookbook: Quick Solutions to Common CSS Problems

by Christopher Schmitt

eBook

$29.99  $39.99 Save 25% Current price is $29.99, Original price is $39.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of practical examples for using CSS to format your web pages, and includes code samples you can use right away. You'll find exactly what you need, from the basics to complex hacks and workarounds.

Each recipe explains how to customize a solution to meet your needs, and each chapter features a sample design that showcases the topics discussed. You'll learn about the behavior of the latest browsers-including IE 8, Firefox 3, Safari 4, and Google Chrome—and how you can resolve differences in the ways they display your web pages. Arranged in a convenient format for quick reference, this third edition is a valuable companion for anyone working with CSS.

  • Learn the basics, such as the CSS rule structure
  • Work with web typography and page layout
  • Create effects for images and other page elements
  • Learn techniques for configuring lists, forms, and tables
  • Design effective web navigation and create custom links
  • Get creative by combining CSS with JavaScript
  • Learn useful troubleshooting techniques
  • Explore features of HTML5 and CSS3

Product Details

ISBN-13: 9781449382940
Publisher: O'Reilly Media, Incorporated
Publication date: 12/15/2009
Series: Animal Guide
Sold by: Barnes & Noble
Format: eBook
Pages: 732
File size: 44 MB
Note: This product may take a few minutes to download.

About the Author

Christopher Schmitt has been working on the Web since 1993. He is the principal of Heatvision.com, Inc., a new media design firm, and resides in Orlando, Florida. Christopher speaks frequently about web design at conferences including South by Southwest Interactive and Web Design World. His books include "Designing CSS Web Pages" (New Riders), "Professional CSS: Cascading Style Sheets for Web Design" (Wrox), and "CSS Cookbook" (O'Reilly).

Table of Contents

Forewordix
Prefacexi
1.Web Typography1
1.1Specifying Fonts and Inheritance2
1.2Specifying Font Measurements and Sizes5
1.3Enforcing Font Sizes9
1.4Setting a Simple Initial Cap10
1.5Setting a Larger, Centered Initial Cap11
1.6Setting an Initial Cap with Decoration (Imagery)13
1.7Creating a Heading with Stylized Text15
1.8Creating a Heading with Stylized Text and Borders17
1.9Stylizing a Heading with Text and an Image19
1.10Creating a Pull Quote with HTML Text21
1.11Creating a Pull Quote with Borders22
1.12Creating a Pull Quote with Images24
1.13Setting the Indent in the First Line of a Paragraph27
1.14Setting the Indent of Entire Paragraphs28
1.15Setting Text to Be Justified31
1.16Styling the First Line of a Paragraph32
1.17Styling the First Line of a Paragraph with an Image33
1.18Creating a Highlighted Text Effect35
1.19Changing Line Spacing36
2.Page Elements38
2.1Eliminating Page Margins38
2.2Coloring the Scrollbar40
2.3Centering Elements on a Web Page43
2.4Setting a Background Image48
2.5Creating a Line of Background Images49
2.6Placing a Background Image50
2.7Fixing the Background Image53
2.8Placing a Page Border56
2.9Customizing a Horizontal Rule58
2.10Example Design: Setting Up a Dynamic Splash Page62
3.Links and Navigation67
3.1Removing Underlines from Links67
3.2Setting Text to Blink69
3.3Setting Style Decorations Other Than Underlines70
3.4Changing Cursors71
3.5Creating Rollovers Without JavaScript73
3.6Creating Nongraphical Menus with Rollovers74
3.7Creating Collapsible Menus78
3.8Building Horizontal Menus80
3.9Creating Breadcrumb Navigation85
3.10Creating Image-Based Rollovers88
3.11Designing a Dynamic Visual Menu92
3.12Creating Contextual Menus95
4.Lists99
4.1Changing the Format of a List100
4.2Writing Cross-Browser Indentation in Lists101
4.3Creating Custom Text Markers for Lists102
4.4Creating Custom Image Markers for Lists104
4.5Creating Inline Lists106
4.6Making Hanging Indents in a List107
4.7Moving the Marker Inside the List108
5.Forms111
5.1Setting Styles for Input Elements111
5.2Setting Styles for textarea Elements115
5.3Setting Styles for Select and Option Elements116
5.4Creating Form Buttons119
5.5Setting Up a Submit-Once-Only Button122
5.6Designing a Web Form Without Tables123
5.7Sample Design: A Login Form125
5.8Sample Design: A Registration Form129
6.Tables139
6.1Setting the Cell Spacing139
6.2Setting the Borders and Cell Padding141
6.3Setting the Styles Within Table Cells143
6.4Removing Gaps from Table Cells with Images144
6.5Setting Styles for Table Header Elements146
6.6Sample Design: An Elegant Calendar148
7.Page Layouts158
7.1Developing Hybrid Layouts Using HTML Tables and CSS159
7.2Building a One-Column Layout164
7.3Building a Two-Column Layout165
7.4Building a Two-Column Layout with Fixed-Width Columns170
7.5Creating a Flexible Multicolumn Layout with Floats173
7.6Creating a Fixed-Width Multicolumn Layout with Floats176
7.7Creating a Flexible Multicolumn Layout with Positioning179
7.8Creating a Fixed-Width Multicolumn Layout with Positioning182
7.9Designing an Asymmetric Layout184
8.Print188
8.1Creating a Printer-Friendly Page189
8.2Making a Web Form Print-Ready191
8.3Inserting URLs After Links194
8.4Sample Design: A Printer-Friendly Page with CSS195
9.Hacks and Workarounds204
9.1Hiding Certain Styles from Netscape Navigator 4.x205
9.2Delivering Alternative Values to Internet Explorer 5.x for Windows207
9.3Removing Web Page Flicker in Internet Explorer 5.x for Windows210
9.4Keeping Background Images Stationary in Internet Explorer 6 for Windows211
9.5Keeping CSS Rules from Internet Explorer 5 for Macintosh212
10.Designing with CSS213
10.1Enlarging Text Excessively213
10.2Creating Unexpected Incongruity215
10.3Combining Unlike Elements to Create Contrast218
10.4Leading the Eye with Contrast219
10.5Building a Panoramic Image Presentation222
10.6Combining Different Image Formats225
10.7Making Word Balloons230
10.8Emphasizing a Quotation233
10.9Placing a Drop Shadow Behind an Image236
AppendixResources239
Index245
From the B&N Reads Blog

Customer Reviews