Prev | Current Page 264 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

the stacking contexts of descendants with negative stack levels
3. block-level descendants in the normal flow
4. floated descendants and their contents
5. inline-level descendants in the normal flow
6. positioned descendants whose z-index is auto or 0
7. the stacking contexts of descendants with positive stack levels
CSS Layout and Formatting
The Ultimate CSS Reference 180
A stacking context is also generated by any positioned element (including relatively
positioned elements) whose computed z-index value is anything other than auto.
Boxes within a stacking context can??™t occur between two boxes that belong to another
stacking context.
Floating and Clearing
A floated element is one whose float property has a value other than none. The
element can be shifted to the left (using the value left) or to the right (using the
value right); non-floated content will flow along the side opposite the specified
float direction.27
The floated box is shifted to the left or right until its margin edge touches the padding
edge of the containing block, or the margin edge of another floated element.


Pages:
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276