Sample
DESIGNING FOR THE WEB
Third Edition
SAMPLE DOCUMENT
Cascading Style Sheets
DESIGNING FOR THE WEB
Third Edition
Cascading Style Sheets
DESIGNING FOR THE WEB
Third Edition
Håkon Wium Lie Bert Bos
Copyright © 2005 Håkon Wium Lie and Bert Bos
Table of Contents
°°°°°
Table of Contents
Table of Contents.................................................................... vii Preface...................................................................................... viii Chapter 1 The Web and HTML ..................................................................1 The Web ..............................................................................................................1 Development of the Web............................................................................2 Adding images .................................................................................................2 Chapter 2 CSS ................................................................................................3 Rules and Style Sheets .......................................................................................3 Index .............................................................................................5
vii
°°°°°
Preface
This is a sample document whose purpose is to show how CSS can be used to print a book. To make the document more lively, excerpts from the third edition of “Cascading Style Sheets — designing for tbe Web” has been included.1 The excerpts have been selected for their example values and they appear, in this document, out of order. The PDF version of this document is produced directly from the HTML and CSS sources by the Prince formatter. We encourage you to reuse the structure, markup and style sheet of this sample document. In your own book, however, you need to provide the content yourself. Håkon Wium Lie & Bert Bos Oslo/Antibes November 2005
1. That book was