Prev | Current Page 239 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

Otherwise, the
run-in box becomes a block box. Run-in boxes are mainly intended for run-in
headings. See display (p. 264) for more information about run-in and browser
support.
The value inline-block generates a block box that??™s laid out as an inline box. On
the inside, the box is a block box, but on the outside, it??™s an inline box. Similarly,
the value inline-table generates a table that??™s laid out as an inline box.
The value none is a special case, because an element with this display value will
not generate any sort of box at all. This means that no descendant element will be
able to generate a box. It??™s important to note that applying the value none isn??™t the
same as using an invisible box; if you use none, no box will be generated at all.
Elements whose position properties have the value absolute (p. 178) or fixed
(p. 178) are laid out in a very different fashion, as are floated or cleared (p. 180)
elements.
An absolutely positioned or floated element will, however, establish a new
containing block and formatting context for its static children.


Pages:
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251