Synopses & Reviews
Cascading Style Sheets (CSS) are a powerful way to enrich the presentation of HTML-based web pages, allowing web authors to give their pages a more sophisticated look and more structure. CSS's compact file size helps web pages load quickly, and by allowing changes made in one place to be applied across the entire document, CSS can save hours of tedious changing and updating.But to leverage the full power of CSS, web authors first have to sift through CSS theory to find practical solutions that resolve real-world problems. Web authors can waste hours and earn ulcers trying to find answers to those all-too-common dilemmas that crop up with each project. The CSS Cookbook cuts straight through the theory to provide hundreds of useful examples and CSS code recipes that web authors can use immediately to format their web pages.The time saved by a single one of these recipes will make its cover price money well-spent. But the CSS Cookbook provides more than quick code solutions to pressing problems. The explanation that accompanies each recipe enables readers to customize the formatting for their specific purposes, and shows why the solution works, so you can adapt these techniques to other situations. Recipes range from the basics that every web author needs to code concoctions that will take your web pages to new levels.Reflecting CSS2, the latest specification, and including topics that range from basic web typography and page layout to techniques for formatting lists, forms, and tables, it is easy to see why the CSS Cookbook is regarded as an excellent companion to Cascading Style Sheets: The Definitive Guide and a must-have resource for any web author who has even considered using CSS.
Synopsis
- Covers CSS2, the latest specification
- Fills an important gap in the available literature
- An ideal topic for O'Reilly's proven Cookbook approach
Synopsis
Schmitt covers the latest specifications on CSS2, and fills an important gap in the available computer literature.
About the Author
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.
Table of Contents
Foreword; Preface; Audience; Assumptions This Book Makes; Contents of This Book; Conventions Used in This Book; Using Code Examples; Comments and Questions; Acknowledgments; Chapter 1: Web Typography; 1.1 Introduction; 1.2 Specifying Fonts and Inheritance; 1.3 Specifying Font Measurements and Sizes; 1.4 Enforcing Font Sizes; 1.5 Setting a Simple Initial Cap; 1.6 Setting a Larger, Centered Initial Cap; 1.7 Setting an Initial Cap with Decoration (Imagery); 1.8 Creating a Heading with Stylized Text; 1.9 Creating a Heading with Stylized Text and Borders; 1.10 Stylizing a Heading with Text and an Image; 1.11 Creating a Pull Quote with HTML Text; 1.12 Creating a Pull Quote with Borders; 1.13 Creating a Pull Quote with Images; 1.14 Setting the Indent in the First Line of a Paragraph; 1.15 Setting the Indent of Entire Paragraphs; 1.16 Setting Text to Be Justified; 1.17 Styling the First Line of a Paragraph; 1.18 Styling the First Line of a Paragraph with an Image; 1.19 Creating a Highlighted Text Effect; 1.20 Changing Line Spacing; Chapter 2: Page Elements; 2.1 Introduction; 2.2 Eliminating Page Margins; 2.3 Coloring the Scrollbar; 2.4 Centering Elements on a Web Page; 2.5 Setting a Background Image; 2.6 Creating a Line of Background Images; 2.7 Placing a Background Image; 2.8 Fixing the Background Image; 2.9 Placing a Page Border; 2.10 Customizing a Horizontal Rule; 2.11 Example Design: Setting Up a Dynamic Splash Page; Chapter 3: Links and Navigation; 3.1 Introduction; 3.2 Removing Underlines from Links; 3.3 Setting Text to Blink; 3.4 Setting Style Decorations Other Than Underlines; 3.5 Changing Cursors; 3.6 Creating Rollovers Without JavaScript; 3.7 Creating Nongraphical Menus with Rollovers; 3.8 Creating Collapsible Menus; 3.9 Building Horizontal Menus; 3.10 Creating Breadcrumb Navigation; 3.11 Creating Image-Based Rollovers; 3.12 Designing a Dynamic Visual Menu; 3.13 Creating Contextual Menus; Chapter 4: Lists; 4.1 Introduction; 4.2 Changing the Format of a List; 4.3 Writing Cross-Browser Indentation in Lists; 4.4 Creating Custom Text Markers for Lists; 4.5 Creating Custom Image Markers for Lists; 4.6 Creating Inline Lists; 4.7 Making Hanging Indents in a List; 4.8 Moving the Marker Inside the List; Chapter 5: Forms; 5.1 Introduction; 5.2 Setting Styles for Input Elements; 5.3 Setting Styles for textarea Elements; 5.4 Setting Styles for Select and Option Elements; 5.5 Creating Form Buttons; 5.6 Setting Up a Submit-Once-Only Button; 5.7 Designing a Web Form Without Tables; 5.8 Sample Design: A Login Form; 5.9 Sample Design: A Registration Form; Chapter 6: Tables; 6.1 Introduction; 6.2 Setting the Cell Spacing; 6.3 Setting the Borders and Cell Padding; 6.4 Setting the Styles Within Table Cells; 6.5 Removing Gaps from Table Cells with Images; 6.6 Setting Styles for Table Header Elements; 6.7 Sample Design: An Elegant Calendar; Chapter 7: Page Layouts; 7.1 Introduction; 7.2 Developing Hybrid Layouts Using HTML Tables and CSS; 7.3 Building a One-Column Layout; 7.4 Building a Two-Column Layout; 7.5 Building a Two-Column Layout with Fixed-Width Columns; 7.6 Creating a Flexible Multicolumn Layout with Floats; 7.7 Creating a Fixed-Width Multicolumn Layout with Floats; 7.8 Creating a Flexible Multicolumn Layout with Positioning; 7.9 Creating a Fixed-Width Multicolumn Layout with Positioning; 7.10 Designing an Asymmetric Layout; Chapter 8: Print; 8.1 Introduction; 8.2 Creating a Printer-Friendly Page; 8.3 Making a Web Form Print-Ready; 8.4 Inserting URLs After Links; 8.5 Sample Design: A Printer-Friendly Page with CSS; Chapter 9: Hacks and Workarounds; 9.1 Introduction; 9.2 Hiding Certain Styles from Netscape Navigator 4.x; 9.3 Delivering Alternative Values to Internet Explorer 5.x for Windows; 9.4 Removing Web Page Flicker in Internet Explorer 5.x for Windows; 9.5 Keeping Background Images Stationary in Internet Explorer 6 for Windows; 9.6 Keeping CSS Rules from Internet Explorer 5 for Macintosh; Chapter 10: Designing with CSS; 10.1 Introduction; 10.2 Enlarging Text Excessively; 10.3 Creating Unexpected Incongruity; 10.4 Combining Unlike Elements to Create Contrast; 10.5 Leading the Eye with Contrast; 10.6 Building a Panoramic Image Presentation; 10.7 Combining Different Image Formats; 10.8 Making Word Balloons; 10.9 Emphasizing a Quotation; 10.10 Placing a Drop Shadow Behind an Image; Resources; Discussion Groups; References; Tools; Design Resources; Colophon;