Speaking in Styles
Fundamentals of CSS for Web Designers
Jason Cranford Teague
New Riders1249 Eighth StreetBerkeley, CA 94710510/524-2178
Find us on the Web at www.newriders.com
To report errors, please send a note to [email protected]
New Riders is an imprint of Peachpit, a division of Pearson Education
Copyright © 2009 Jason Cranford Teague©
Project Editor:Nancy PetersonDevelopment Editor:Brenda McLaughlinTechnical Editor:Dave ArtzProduction Coordinator:Cory BormanCopy Editors:Dan Foster, Darren MeissCompositor:Jason Cranford TeagueMarketing Manager:Glenn BisignaniIndexer:Emily GlossbrennerCover and Interior Designer:Jason Cranford TeagueCover Production:Andreas DeDanaan
All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, contact [email protected].
The information in this book is distributed on an “As Is” basis without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.
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 Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.
Printed and bound in the United States of America
ISBN 13: 978-0-321-57416-9
9 8 7 6 5 4 3 2 1
Printed and bound in the United States of America
In Memory of
Mossie Stone Teague & Oscar Brantley Teague
Thanks...
Tara
Dashiel & Jocelyn
Dad & Nancy
Johnny
Pat & Red
Boyd, Dr. G, & Judy
Thomas, Archer, & David
Charles Dodgson & John Tenniel
Douglas Adams & Carl Sagan
Neil Gaimen & Dave McKean
The noise that kept me going...
NPR, Ted Talks, Skepticality, Slice of Sci-fi, The Craig Charles Funk & Soul Show, Bat for Lashes, Amanda Palmer (AFP), Wilson Pickett, Carbon/Silicon, Scissor Sisters, Kate Bush, Bryan Ferry, The Fixx, Jonathan Coulton, Cranes, Johnny Cash, Cocteau Twins, Ladytron, Marvin Gaye, Client, Cracker, Corduroy, Al Green, The Wombats, Electric Six, World Party, Skinny Puppy, The Cramps, Poprocket, Franz Ferdinand, The Long Blondes, Gogol Bordello, Mojo Nixon, Beck, and The Specials.