Chapter 2. Setting Your Page's Base Styles

In this and the following chapter, you'll be creating a sample style sheet for a type of Web page that is fairly commonly found on the Web, a family home page. The purpose of this is not to show or tell you everything that there is to know about creating style sheets, but just to let you get your feet wet and get a sense of what a style sheet is and what it can do. While you'll be utilizing a fair number of CSS features in this and the next chapter, I'm not going to be spending any more time than necessary to explain what any particular feature is or what all the possible options are—I will provide cross-references, however, to where in the following chapters more complete and detailed explanations can ...

Get Cascading Style Sheets (CSS) by Example 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.