Cascading Style Sheets: Separating Content from Presentation

by ; ; ;
Edition: 2nd
Format: Paperback
Pub. Date: 2004-03-01
Publisher(s): Apress
List Price: $44.99

Buy New

Usually Ships in 2-3 Business Days
$44.54

Rent Book

Select for Price
There was a problem. Please try again later.

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

Summary

This book is a focused guide to using Cascading Style Sheets (CSS) for the visual design of web pages. It provides concise coverage of all the essential CSS concepts developers need to learn (such as separating content from presentation, block and inline elements, inheritance and cascade, the box model, typography, etc). It also covers the syntax needed to effectively use CSS with your markup document (for example CSS rules, how to structure a style sheet, linking style sheets to your (X)HTML documents, CSS boxes etc).

Table of Contents

About the Authors ix
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Chapter 1 Foundation Concepts 1(18)
A Short History of the Web
2(6)
Introducing Cascading Style Sheets
8(10)
Summary
18(1)
Chapter 2 Overview of Presentation 19(12)
Presentation
19(3)
Identifying Presentation Logic
22(3)
Identifying Document Components
25(1)
Applying Presentation to Document Components
26(2)
Optimizing Presentation
28(2)
Summary
30(1)
Chapter 3 Markup with Meaning 31(32)
The Roots of Semantic Markup
31(16)
Document Analysis
47(10)
Choosing a Naming Convention
57(2)
Integrating Structure with Presentation Logic
59(3)
Summary
62(1)
Chapter 4 Fundamentals 63(12)
Block and Inline
63(4)
Inheritance and Cascade
67(5)
The Box Model
72(2)
Summary
74(1)
Chapter 5 Rules 75(18)
Rule Structure
75(3)
Values
78(2)
Selectors
80(7)
Pseudo-Classes and Pseudo-Elements
87(4)
Stylesheet Order
91(1)
Summary
92(1)
Chapter 6 Attaching CSS to Your Markup 93(14)
Inline Styles
93(2)
Embedded Stylesheets
95(5)
External Stylesheets
100(4)
Alternate, Persistent, and Preferred Stylesheets
104(1)
Summary
105(2)
Chapter 7 Typography 107(56)
Typography on the Web
107(1)
Type Basics
108(13)
Color and Type
121(2)
Measure
123(1)
Influencing Line Breaks
124(3)
Type Blocks
127(8)
Headings
135(5)
Lists
140(8)
Inline Boxes
148(9)
Relative Units: Describing the Relationships Between Elements
157(3)
Summary
160(3)
Chapter 8 Boxes, Boxes, Boxes 163(46)
Flow
164(1)
Position
164(8)
Float
172(4)
Z-Index
176(7)
Box Sets
183(21)
Thinking About Design
204(4)
Summary
208(1)
Chapter 9 Styling Tables with CSS 209(26)
General Advice
209(11)
Backgrounds
220(2)
Separators: Gaps and Borders
222(12)
Summary
234(1)
Chapter 10 Cross-Browser CSS 235(42)
The Name Game
235(1)
Crossing the Great Divide
236(20)
Our Modern World
256(20)
Summary
276(1)
Chapter 11 Troubleshooting 277(14)
Hardware
277(3)
Software
280(3)
Wetware
283(6)
Summary
289(2)
Chapter 12 CSS Design Projects 291(110)
Fahrner Image Replacement Caveat
291(1)
Design Projects and Techniques
292(3)
Weblog
295(8)
Research Institute Site
303(11)
Buffalo Philharmonic Orchestra Site
314(16)
Photo Gallery
330(19)
Image Viewer
349(20)
Real Estate Portal
369(32)
Index 401

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.