CHAPTER 5

image

Box Properties

image Note  Everything in HTML fits in a box and knowing how to control the format and layout of these boxes is paramount to a solid understanding of CSS.

Box properties are the properties of an HTML element that describe things like its size, fill, border, and spacing.

We’ll look into element size and spacing as well as all the fill and border colors that make these elements look good and make them act as they should when the view state changes. It’s one thing to get a single view working just right, but what happens when ...

Get CSS for Windows 8 App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.