• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Space Around Boxes > The Whole Story on Width Computation

The Whole Story on Width Computation

We explained the normal uses of the various margin, padding, and border properties earlier in this chapter as they relate to block-level elements. In this section, we summarize all this information. We also explain some of the unusual cases you may run into.

The horizontal position and width of a nonfloating, block-level element is determined by seven properties:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint