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.


Editing Padding 


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