■ CONTENTS
viii
Box Model ........................................................................................................................ 84
Inline Box ......................................................................................................................... 86
Inline-Block Box ............................................................................................................... 88
Block Box ......................................................................................................................... 90
Table Box ......................................................................................................................... 92
Absolute Box .................................................................................................................... 94
Floated Box ...................................................................................................................... 96
Chapter 5: Box Model Extents ................................................................................... 99
Chapter Outline ................................................................................................................ 99
Width .............................................................................................................................. 100
Height ............................................................................................................................ 102
Sized .............................................................................................................................. 104
Shrinkwrapped .............................................................................................................. 106
Stretched ....................................................................................................................... 108
Chapter 6: Box Model Properties ............................................................................ 111
Chapter Outline .............................................................................................................. 111
Margin ............................................................................................................................ 112
Border ............................................................................................................................ 114
Padding .......................................................................................................................... 118
Background .................................................................................................................... 120
Overflow ......................................................................................................................... 122
Visibility ......................................................................................................................... 124
Page Break .................................................................................................................... 126
Chapter 7: Positioning Models ................................................................................ 129
Chapter Outline .............................................................................................................. 129
Positioning Models ......................................................................................................... 13 0
Positioned ...................................................................................................................... 132
Closest Positioned Ancestor .......................................................................................... 134
Stacking Context ............................................................................................................ 136
Atomic ............................................................................................................................ 138
Static .............................................................................................................................. 140
Absolute ......................................................................................................................... 142
Fixed .............................................................................................................................. 144
Relative .......................................................................................................................... 146
Float and Clear ............................................................................................................... 148
Relative Float ................................................................................................................. 150