Chapter 2

Performing Basic Tasks

In This Chapter

arrow Using selectors to access objects

arrow Relying on boxes to organize content

arrow Developing backgrounds

Chapter 1 rushed you through a few examples that demonstrated how Cascading Style Sheets (CSS) work at a basic level. Of course, there’s a lot more to CSS and this chapter helps you take the next step on the journey. There are a few essential tasks that you’ll perform whenever you work with CSS simply because there isn’t any way to avoid them.

One of these tasks is selecting objects to work with, as discussed in Chapter 1. Creating a p or h1 style involves selecting <p> and <h1> tags (objects) within the document. After these objects are selected, you can perform tasks with them. Note, however, that simple tags aren't the only objects, as you discover in this chapter.

You also need to know how layout works at a basic level. In this chapter you discover how CSS interacts with the drawing area onscreen. For example, you need to know the starting point for drawing new information onscreen and how the underlying platform deals with packaging objects for display. This is the same sort of information that developers need in order to create desktop ...

Get CSS3 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.