Chapter 8 Resources
Part Two: Adding Style With CSS
Chapter 8
This page contains all the files you’ll need to complete the homework for Chapter 8 in addition to reference files and links to resources related to the chapter.
Homework
Use ‘View Source’ at our King Kong web page to refer to our markup when giving your Gordo web page a makeover and adding CSS to it.
Reference Files
Use ‘View Source’ (as covered in Chapter 2) to look at our example files’ source code. Where helpful we have included comments inline within the markup to give additional guidance.
- A Simple CSS Rule - Example 1
- A Simple CSS Rule - Example 2
- A Slightly More Complex CSS Rule
- A CSS Rule with Multiple Declarations - Example 1
- A CSS Rule with Multiple Declarations - Example 2
- A Page with Multiple Rules - Example 1
- A Page with Multiple Rules - Example 2
- Inline CSS Rules
- King Kong Page - Chapter 6 Version (No CSS)
- King Kong Page - Chapter 8, Pass 1
- King Kong Page - Chapter 8, Pass 2
- King Kong Page - Chapter 8, Pass 3
- King Kong Page - Chapter 8, Pass 4
- King Kong Page - Chapter 8, Pass 5
- King Kong Page - Chapter 8, Pass 6
- A CSS Comment
- A ‘Commented Out’ Declaration
- CSS Comments for Style Sheet Titles, Version Numbers and Revision Dates


Whilst it's encouraging to see Apple throwing its considerable weight behind HTML5 and the development of open web standards, it's unveiling late last week of an HTML5 Showcase was, to put it mildly, somewhat disingenuous…
Simon Collison is a designer, speaker, author and bon viveur with a passion for Victoriana and assorted miscellany. We asked Mr Collison a dozen questions…
Elliott Kember is a freelance web developer with a passion for the colour 