Skip to main content

Beginning CSS: Cascading Style Sheets for Web Design

Beginning CSS: Cascading Style Sheets for Web Design

Richard York

ISBN: 978-0-764-57642-3

Dec 2004

648 pages

Select type: Paperback

Product not available for purchase


  • This book is the perfect introduction to Cascading Style Sheets (CSS), the Web markup standard that allows Web designers and developers to easily make a style change to one CSS template and then change formatting across hundreds-or thousands-of pages
  • Covers the current CSS standard versions (CSS 1 and CSS 2) with notes and comments where appropriate on the CSS 3 standard in development
  • Includes quick reference on CSS at the end of the book as well as integrated reference coverage throughout
  • Teaches by using an example-oriented approach and includes exercises at the end of each chapter, with sample solutions provided in the appendix


Chapter 1: Introducing Cascading Style Sheets.

Chapter 2: Document Standards.

Chapter 3: The Basics of CSS Anatomy and Syntax.

Chapter 4: Data Types, Keywords, Color, Length, and the URI.

Chapter 5: CSS Selectors.

Chapter 6: Pseudo-Element and Pseudo-Class Selectors.

Chapter 7: Inheritance and the Cascade.

Chapter 8: Text Manipulation.

Chapter 9: Font Manipulation.

Chapter 10: Liquid Design and the CSS Box Model.

Chapter 11: CSS Buoyancy: Collapsing Margins, Floating, and Vertical Alignment.

Chapter 12: Styling Lists and the User Interface.

Chapter 13: Backgrounds: Setting the Scene.

Chapter 14: Positioning.

Chapter 15: Styling for Handheld Devices and Print.

Chapter 16: Styling Tables.

Chapter 17: Styling XML.

Chapter 18: Cross-Browser Compatibility.

Appendix A: Exercise Answers.

Appendix B: CSS Reference.

Appendix C: CSS Colors.

Appendix D: Browser Rendering Modes.


“…perfect for people who are starting to use CSS…” (, October 2005)
Source Code
Code downloads for this title are available here.
Source Code
Source Code
Code downloads for this title are available here.
Source Code
ChapterPageDetailsDatePrint Run
22Error in Grey Box,In the reference to the mozilla webpage, just above the gray box in the middle of the page, the website address should read www not ww .4/8/05
23Error in Text,Paragraph before Single Tags and HTML Line Breaks , 3rd line:

the closing tag contains a forward slash before the tag name (/>)
should be:
the closing tag contains a forward slash before the tag name (</)
31Delete Sentence in Paragraph,Paragraph after XHTML IS Case-Sensitive heading:

delete 2nd sentence:
More tags in HTML are used than in XHTML; for the most part, however, the two languages include the same tags with the same functionality.
40Font error,Paragraph after Common Document Type Declarations heading, end of paragraph:

fix the font, last E of DOCTYPE
40Replace Sentence,Paragraph (1 sentence) before the HTML 4.01 Frameset heading: replace with:

If the DTD URL is not recognized by the browser, the rendering mode invoked is standards mode (See Appendix D).
41Deletions on Page,Line 2:

delete or with an invalid URL
44Error in Text,Paragraph before the Introducing Selectors heading, 2nd line:

specifying elements
should be:
the Cascade
46Error in Text,First line of last paragraph: The paragraph should begin:

The preceding rules apply
Should be:
The preceding rule applies
53Error in Text,First code block, 4th line of code:

Some text aligned left.
should say:
Some text aligned right.
55Error in line 1 in Excercise 1,Exercise 1, line 1: change inline to embedded 3/1/05
55Error in line 3, Exercise 1,Exercise 1, line 3: delete the word also 3/1/05
71Error in Text,Paragraph under heading Hexadecimal Colors , 2nd line:

scheme that uses 16 characters as its base
should be:
scheme that uses 16 numbers as its base
71Error in Text,Last line

In hexadecimal, 15 are represented by F
should be:
In hexadecimal, 15 is represented by F
87Code block for step 2,Lines 14-16 of code:

<textarea name='feedback[address]'
cols='40' rows='3' wrap='virtual'>

should be:

<textarea name='feedback[address]' cols='40' rows='3'
87code block for step 2,Lines 20-22 of code:

<textarea name='feedback[message]'
cols='40' rows='6' wrap='virtual'>

should be

<textarea name='feedback[message]' cols='40' rows='6'
94Text Deletion,Page 94:

Starting with the 1 line paragraph before the first shaded code section, delete all of the following:

CSS, however, also supports the specification of multiple values via the following syntax:

AND all the way through the italic note about 2/3 of the way down the page:

No major browser yet supports the tilde multiple value syntax.

Delete all of that, those 2 lines