Chapter 11. Understanding CSS Style Properties
In This Chapter
Understanding the CSS box model
Using the eight style categories
Working with style attributes
Creating custom link styles with CSS
Extending your knowledge of CSS with online resources
In earlier chapters of the book, you find out that CSS is the best way to add formatting to the elements on your Web pages, from font sizes to image placement to link colors. And, in Book III, Chapter 3, you discover the fundamentals of Cascading Style Sheets and how to apply CSS styles to your pages.
As a complement to the previous chapter, this chapter is designed to help you with choosing the right attributes for all of your styles so that you can best style and position your content with CSS. Here you are introduced to the CSS box model concept and the eight different style property categories of CSS. A strong understanding of the box model along with these style categories (each have their own special set of CSS style declarations) can help you choose the attributes you need when you create your own style sheets. In addition, you find instructions on formatting the different elements on a page with CSS, and a helpful list of the best online CSS resources available, should you decide you want to start using the more advanced capabilities of CSS.
Working with the CSS Box Model
When styling and positioning your content with Cascading Style Sheets, ...
Get Web Design All-in-One for Dummies® 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.