Cascading Style Sheets: Designing for the Web, Third Edition


book cover
Cascading Style Sheets: Designing for the Web, Third Edition
By Håkon Wium Lie, Bert Bos
Publisher: Addison Wesley Professional
Pub Date: April 25, 2005
ISBN: 0321193121
Pages: 416

Table of Contents  | Index


Direct from the creators of CSS, this is the definitive reference to CSS 2.1, today's indispensable standard for controlling the appearance of any Web or XML document. This full-color book doesn't just show how to use every significant CSS 1 and 2.x feature; it carefully explains the "why" behind today's most valuable CSS design techniques. You'll find practical, downloadable examples throughout—along with essential browser support information and best practices for building high-impact pages and applications.

Cascading Style Sheets: Designing for the Web, Third Edition covers every CSS 2.1 improvement and fix, from new height/width definitions in absolutely positioned elements to new clip property calculations. Clear, readable, and thorough, it's the one must-have CSS resource for every Web developer, designer, and content provider. Coverage includes

  • Mastering essential CSS concepts: rules, declarations, selectors, properties, and more

  • Working with type: from absolute/relative units to font size and weight

  • Understanding CSS objects: box model, display properties, list styles, and more

  • Exercising total control over spacing and positioning

  • Specifying colors for borders and backgrounds

  • Managing printing: margins, page breaks, and more

  • Implementing media-specific style sheets for audio rendering, handhelds, and other forms of presentation

  • Moving from HTML extensions to CSS: five practical case studies

  • Making the most of cascading and inheritance

  • Using external style sheets and @import

  • Integrating CSS with XML documents

  • Optimizing the performance of CSS pages

  • Includes a handy CSS Quick Reference Card



Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.

The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.

The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact:

     U. S. Corporate and Government Sales
     (800) 382-3419
For sales outside the U.S., please contact:
     International Sales
Visit us on the Web:

Library of Congress Catalog Number: 2004116047

Copyright © 2005 Håkon Wium Lie and Bert Bos

All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, write to:

     Pearson Education, Inc.
     Rights and Contracts Department
     One Lake Street
     Upper Saddle River, NJ 07458

Text printed in the United States on recycled paper at R.R. Donnelley and Sons Company in Crawfordsville, Indiana.

First printing, April 2005