Book description
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 of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Basic 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
Publisher resources
Table of contents
- Preface
-
1. Basic Visual Formatting
- Basic Boxes
- Altering Element Display
-
Inline Elements
- Line Layout
- Basic Terms and Concepts
- Inline Formatting
- Inline Nonreplaced Elements
- Building the Boxes
- Vertical Alignment
- Managing the line-height
- Scaling Line Heights
- Adding Box Properties
- Changing Breaking Behavior
- Glyphs Versus Content Area
- Inline Replaced Elements
- Adding Box Properties
- Replaced Elements and the Baseline
- Inline-Block Elements
- Run-in Elements
- Computed Values
- Summary
Product information
- Title: Basic Visual Formatting in CSS
- Author(s):
- Release date: August 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491929919
You might also like
book
Swift in Depth
Swift in Depth guides you concept by concept through the skills you need to build professional …
book
Using SQLite
Application developers, take note: databases aren't just for the IS group any more. You can build …
book
Web Components in Action
Web Components in Action teaches you to build and use Web Components from the ground up. …
book
Networking Fundamentals
Become well-versed with basic networking concepts such as routing, switching, and subnetting, and prepare for the …