Pages

Labels

Powered by Blogger.
Saturday, September 8, 2012

Visual Formatting Model Overview


Three of the most important CSS concepts to grasp are floating, positioning, and the box model. These concepts control the way elements are arranged and displayed on a page, forming the basis of CSS layout. If you are used to controlling layout with tables, these concepts may seem strange at first. In fact, most people will have been developing sites using CSS for some time before they fully grasp the intricacies of the  box model, the difference between absolute and relative positioning, and how floating and clearing actually work. Once you have a firm grasp of these concepts, developing sites using CSS becomes that much easier.

In this chapter you will learn about

  • The intricacies and peculiarities of the box model
  • How and why margins collapse
  • The difference between absolute and relative positioning
  • How floating and clearing work

Let's See:
Box model recap

0 Comments: