Example: barber

The Ultimate CSS Reference - PHP Portal

PANTONE 2955 CPANTONE Orange 021 CCMYK 100, 45, 0, 37 CMYK O, 53, 100, 0 Black 100%Black 50%#-9+ 0 ANTONE 'REY SCALEPANTONE 2955 CPANTONE Orange 021 CCMYK 100, 45, 0, 37 CMYK O, 53, 100, 0 Black 100%Black 50%#-9+ 0 ANTONE 'REY SCALEISBN: 978-0-9802858-5-7 USD $ CAD $ DesignTommy has been designing web sites and intranets since writing his first line of HTML in 1993. Employed as a Technical Webmaster/Software Developer at a Swedish public agency, Tommy Olsson is a pragmatic evangelist for web standards and TOMMY OLSSONPaul is a freelance web designer specializing in CSS layouts. He entered the world of web design back in 1998, and what started as a hobby soon became a full-time occupation. You ll often find Paul giving advice in the SitePoint forums, where he has racked up nearly 20,000 posts all of them PAUL O BRIENA lmost every web site created today is built using CSS, which is why a thorough knowledge of this technology is mandatory for every web designer.

knowledge of this technology is mandatory for every web designer. There are plenty of good resources to help you learn the basics, but if you’re ready to truly master the intricacies of CSS, this is the book you need. The Ultimate CSS Reference is the definitive resource for mastering CSS. The entire

Tags:

  Reference, Plenty, Css reference

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of The Ultimate CSS Reference - PHP Portal

1 PANTONE 2955 CPANTONE Orange 021 CCMYK 100, 45, 0, 37 CMYK O, 53, 100, 0 Black 100%Black 50%#-9+ 0 ANTONE 'REY SCALEPANTONE 2955 CPANTONE Orange 021 CCMYK 100, 45, 0, 37 CMYK O, 53, 100, 0 Black 100%Black 50%#-9+ 0 ANTONE 'REY SCALEISBN: 978-0-9802858-5-7 USD $ CAD $ DesignTommy has been designing web sites and intranets since writing his first line of HTML in 1993. Employed as a Technical Webmaster/Software Developer at a Swedish public agency, Tommy Olsson is a pragmatic evangelist for web standards and TOMMY OLSSONPaul is a freelance web designer specializing in CSS layouts. He entered the world of web design back in 1998, and what started as a hobby soon became a full-time occupation. You ll often find Paul giving advice in the SitePoint forums, where he has racked up nearly 20,000 posts all of them PAUL O BRIENA lmost every web site created today is built using CSS, which is why a thorough knowledge of this technology is mandatory for every web designer.

2 There are plenty of good resources to help you learn the basics, but if you re ready to truly master the intricacies of CSS, this is the book you Ultimate CSS Reference is the definitive resource for mastering CSS. The entire language is clearly and concisely covered, along with browser compatibility details, working examples, and easy-to-read by two of the world s most renowned CSS experts, this is a comprehensive Reference that you ll come back to time and time THE CSS KNOWLEDGE YOU LL EVER NEED!CSSREFERENCETHE ULTIMATET ommy Olsson & Paul O BrienTHE ULTIMATET ommy Olsson & Paul O 11/29/2008 5:52:39 PMThe Ultimate CSS Reference (Chapter 8) Thank you for downloading this sample chapter from The Ultimate CSS Reference , by Tommy Olsson and Paul O'Brian.

3 This excerpt encapsulates the Summary of Contents, Information about the Author and SitePoint, Table of Contents, and Chapter 8: Layout Properties. We hope you find this information useful in evaluating the book. For more information, visit Summary of Contents of this Excerpt 8. Layout Summary of Additional Book Contents 1. What is 2. General Syntax and 3. At-rules 4. Selector 5. The Cascade, Specificity, and 6. CSS Layout and 7. Box 9. List 10. Table 11. Color and 12. Typographical 13. Generated 14. User Interface 15. Paged Media 16. Vendor Specific 17. Workarounds, Filters, and 18. Differences Between HTML and Alphabetical Property THE ULTIMATECSS REFERENCEBYTOMMY OLSSON& PAUL O BRIENThe Ultimate CSS Reference ii The Ultimate CSS Reference by Tommy Olsson and Paul O Brien Copyright 2008 SitePoint Pty Ltd Managing Editor: Simon Mackie Technical Director: Kevin Yank Technical Editor: Andrew Tetlaw Editor: Georgina Laidlaw Expert Reviewer: Natalie Downe Cover Design: Simon Celen Expert Reviewer: Roger Johansson Interior Design: Xavier Mathieu Printing History: First Edition: February 2008 Notice of Rights All rights reserved.

4 No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations included in critical articles or reviews. Notice of Liability The author and publisher have made every effort to ensure the accuracy of the information herein. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors and SitePoint Pty Ltd, nor its dealers or distributors will be held liable for any damages to be caused either directly or indirectly by the instructions contained in this book, or by the software or hardware products described herein. Trademark Notice Rather than indicating every occurrence of a trademarked name as such, this book uses the names only in an editorial fashion and to the benefit of the trademark owner with no intention of infringement of the trademark.

5 Published by SitePoint Pty Ltd 48 Cambridge Street Collingwood VIC Australia 3066 Web: Email: ISBN 978 0 9802858 5 7 Printed and bound in the United States of America iii About the Authors Hailing from Hampshire in the UK, Paul O Brien is a freelance web designer specializing in CSS layouts. After selling a successful packaging business back in 1998 he was all set for a quiet existence, dabbling with his hobby of web design. However, what started out as a hobby soon became a full-time occupation as the demand for well-coded CSS layouts started growing. Even when he s not working, he can be found giving out helpful advice in the SitePoint Forums where he has racked up nearly 20,000 posts, all of which are CSS-related.

6 Paul s other passion is karate, which he has studied continuously for 35 years. He currently holds the rank of Third Dan (Sandan) in Shotokan karate, so I wouldn t argue with him if I were you! Tommy Olsson is a pragmatic evangelist for web standards and accessibility, who lives in the outback of central Sweden. Visit his blog at About the Expert Reviewers The always excitable Natalie Downe works for Clearleft, in Brighton, as a client-side web developer. An experienced usability consultant and project manager, her first loves remain front-end development and usability engineering. She enjoys Doing Things Right and occasionally dabbling in the dark art of Python and poking the odd API. Roger Johansson is a web professional with a passion for web standards, accessibility, and usability.

7 He spends his days developing web sites at Swedish web consultancy NetRelations, and his evenings and weekends writing articles for his personal sites, and About the Technical Editor Andrew Tetlaw has been tinkering with web sites as a web developer since 1997 and has also worked as a high school English teacher, an English teacher in Japan, a window cleaner, a car washer, a kitchen hand, and a furniture salesman. At SitePoint he is dedicated to making the world a better place through the technical The Ultimate CSS Reference iv editing of SitePoint books and kits. He is also a busy father of five, enjoys coffee, and often neglects his blog at About the Technical Director As Technical Director for SitePoint, Kevin Yank oversees all of its technical publications books, articles, newsletters, and blogs.

8 He has written over 50 articles for SitePoint, but is best known for his book, Build Your Own Database Driven Website Using PHP & MySQL. Kevin lives in Melbourne, Australia, and enjoys performing improvised comedy theater and flying light aircraft. About SitePoint SitePoint specializes in publishing fun, practical, and easy-to-understand content for web professionals. Visit to access our books, newsletters, articles, and community forums. The Online Reference The online version of this Reference is located at The online version contains everything in this book, fully hyperlinked and searchable. The site also allows you to add your own notes to the content and to view those added by others. You can use these user-contributed notes to help us to keep the Reference up to date, to clarify ambiguities, or to correct any errors.

9 Your Feedback If you wish to contact us, for whatever reason, please feel free to email us at We have a well-manned email support system set up to track your inquiries. Suggestions for improvement are especially welcome. Reprint Permissions Do you want to license parts of this book for photocopying, email distribution, Intranet or Extranet posting or for inclusing in a coursepack? Please go to and type in this book s name or ISBN number to purchase a reproduction license. v Table of Contents Chapter 1 What Is CSS? ..1 CSS Versions .. 4 Linking CSS to a Web Document .. 5 Media Queries .. 14 Standards Mode, Quirks Mode, and Doctype Sniffing .. 17 Summary .. 20 Chapter 2 General Syntax and Nomenclature .. 23 Statements.

10 25 At-rules .. 25 Rule Sets .. 26 Selectors .. 26 Declaration Blocks .. 28 Declarations, Properties, and Values .. 28 Keywords .. 29 Lengths and Units .. 29 Percentages .. 32 Colors .. 33 Numbers .. 37 Strings .. 37 URIs .. 38 Initial Values ..39 Shorthand Properties .. 39 CSS Comments .. 42 CSS Identifiers .. 43 CSS Escape Notation .. 43 The Ultimate CSS Reference vi CSS Syntax Errors .. 44 Summary .. 45 Chapter 3 At-rules Reference .. 47 @charset .. 48 @import ..49 @media .. 51 @page .. 52 @font-face .. 54 @namespace ..55 Chapter 4 Selector Reference .. 59 Universal Selector .. 60 Element Type Selector .. 62 Class Selector .. 63 ID Selector .. 65 Attribute Selector .. 67 CSS3 Attribute Selectors.


Related search queries