Skip to main content

Visual Formatting Model Recap

  • Chapter
  • 515 Accesses

Summary

In this chapter you have learned about some of the peculiarities of the box model. You have seen how vertical adjacent margins collapse to form a single margin, and how IE 5.x on Windows interprets the width property differently from other browsers. You now understand the difference between absolute and relative positioning and how useful absolute positioning in a relative container can be. Lastly, you have seen how floats behave in various circumstances and learned that clearing works by increasing the cleared element’s top margin.

Now that you are armed with this knowledge, let’s start putting it to good use. In the next section of this book, you will be introduced to a number of core CSS concepts and you’ll see how they can be used to create a variety of useful and practical techniques. So open your favorite text editor, and let’s get coding.

Keywords

  • Normal Flow
  • Absolute Position
  • Vertical Space
  • Position Element
  • Vertical Margin

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.

This is a preview of subscription content, access via your institution.

Buying options

eBook
USD   24.99
Price excludes VAT (Canada)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and Permissions

Copyright information

© 2006 Andy Budd, Cameron Moll, and Simon Collison

About this chapter

Cite this chapter

(2006). Visual Formatting Model Recap. In: CSS Mastery. Apress. https://doi.org/10.1007/978-1-4302-0123-6_2

Download citation

Publish with us

Policies and ethics