Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Workshop has quiz questions and exercises to help you put to use what you have just learned. If you get stuck, the answers to the quiz questions are in the next section. But try to answer them first. Otherwise, you’ll be cheating yourself.
1. What is the benefit of using CSS to create page layouts?
2. What is a CSS reset and why should you always use it?
3. Given an image placed in the middle of a block of text, briefly describe what happens to the image when its position is set to absolute, fixed, relative, and static.
1. CSS layouts have many benefits, but the most important one is that they enable you to completely change the layout of multiple pages without actually changing the pages themselves. You can also create multiple layouts that visitors can choose from to suit their preference without cluttering the markup. Finally, you can “port” a good layout to a new page easily by attaching the existing style sheet to the new page and just adding some classes and IDs to the divs in the new page.