Simply put, Cascading Style Sheets (CSS) is a way to separate a document's structure from its presentation. The benefits of this can be quite profound: CSS allows a much richer document appearance than HTML and also saves time -- you can create or change the appearance of an entire document in just one place; and its compact file size makes web pages load quickly.
CSS: The Definitive Guide, 3rd Edition, provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, lists and generated content, table layout, user interface, paged media, and more. Author Eric Meyer tackles the subject with passion, exploring in detail each individual CSS property and how it interacts with other properties. You'll not only learn how to avoid common mistakes in interpretation, you also will benefit from the depth and breadth of his experience and his clear and honest style. This is the complete sourcebook on CSS.
The 3rd edition contains:
Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of CSS Floating, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.Learn the characteristics of floated elements, and CSS rules for using themBe aware of certain rule exceptions when applying floats to your design, including the use of negative marginsUse the clear property to prevent floats from affecting elements in the next section of the documentCreate floating boxes in non-rectangular shapes, including rounded corners, circles, ellipses, and even polygonsDefine float shapes with transparent or opaque images
You’ll find a short introduction to the key concepts of CSS and alphabetical summaries of CSS selectors and properties. You’ll also discover information on new properties, including grid, flexbox, clipping, masking, and compositing.Quickly find the information you needExplore CSS concepts, values, selectors and queries, and propertiesLearn how new features complement and extend your CSS practicesDiscover new properties including animations, grid, flexbox, masking, filtering, and compositing in this new edition
Short and deep, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Table Layout in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Make your web pages come alive today.
You’ll explore:Formatting—learn how elements such as display values, anonymous objects, and table layers relate to each other when you assemble CSS tablesCell border appearance—understand two distinct approaches (the separated model and the collapsed model) that govern how (or if) borders mergeTable sizing—determine table width by using either a fixed- or automatic-width layout, and learn how heights are calculated
Short and deep, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Grid Layout in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to make your web pages come alive today.Explore the differences between grid boxes and block containersCreate block-level grids, inline grids, and even nest grids inside gridsLearn best practices for attaching elements to your layout, using explicitly defined grid lines or grid areaUnderstand how the implicit grid automatically adjusts for oversized elementsCreate gutters between grid elements, and align and justify individual items
Eric A. Meyer is an author, speaker, blogger, sometime teacher, and co-founder of An Event Apart. He’s a two-decade veteran of the Web and web standards, a past member of the W3C’s Cascading Style Sheets Working Group, and the author of O’Reilly’s CSS: The Definitive Guide.
This book contains chapters from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Values, Units, and Colors, you’ll receive a significant discount on the entire Definitive Guide when it’s released. Why wait when you can learn how to use units and other key CSS3 features right away?Use RGB or HSL values to mix your own colors, and designate the degree of opacityLearn how to apply global keywords introduced in CSS3Use string values to wrap a sequence of text characters in quotesDescribe margins, letter spacing, and other properties, with either fixed or relative length unitsUnderstand how number, integer, and percentage values differExplore CSS3 unit types for describing display resolutionUse time values for transitions and animations