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

Chapter 8. Space Around Boxes > Case 3: Two or Three of the Three Values are “A...

Case 3: Two or Three of the Three Values are “Auto”

There are two possible cases: One case is where width is auto, and one where width has some other value. First, if width is auto, the width value is the one that is calculated using the formula in Figure 8.17. That is, the width will be maximized after consideration of the margin size. Any margins set to auto will become 0.

If width is not auto, but both margin-left and margin-right are, the two margins will be of equal size and as large as possible.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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