Setting the Foundations


In this chapter you’ve seen how a well-structured and meaningful document can help provide a solid framework for applying your styles. You’ve learned about some of the more advanced CSS selectors and how CSS handles conflicting rules. You’ve also seen how wellstructured and well-commented CSS files can make your life easier and increase your productivity.

In the next chapter, you will learn about the CSS box model, how and why margins collapse, and how floating and positioning really works.


Font Size Attribute Selector Document Type Definition Cascade Style Sheets Type Selector 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Andy Budd, Cameron Moll, and Simon Collison 2006

Personalised recommendations