Some aspects of the CSS formatting model may seem counterintuitive at first, but as you’ll learn in this practical guide, the more you work with these features, the more they make sense. Author Eric Meyer gives you a good grounding in CSS visual rendering, from element box rules and concepts to the specifics of managing tricky layouts for block-level and inline elements.
Short and sweet, this book is an excerpt from the upcoming fourth edition ofCSS: The Definitive Guide. When you purchase either the print or the ebook edition ofBasic Visual Formatting in CSS, 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 details of element box types, including block, inline, inline-block, list-item, and run-in boxes
- Change the type of box an element generates, from inline to block, or list-item to inline
- Dive into the complexities of horizontal and vertical block-box formatting
- Explore key concepts of inline layout: anonymous text, em box, content area, leading, inline box, and line box
- Understand formatting differences between nonreplaced and replaced inline elements
Eric A. Meyer is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.
Layout Fundamentals in CSS