O'Reilly logo

CSS3 For Dummies by John Paul Mueller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required