Overflow

<blockquote cite="http://www.w3.org/TR/REC-CSS2/visufx.html#overflow">
This [the overflow] property specifies whether the content of a
block-level element is clipped when it overflows the element's box
(which is acting as a containing block for the content). 
</blockquote>

Not so. The overflow property specifies whether the content of a
block-level element is clipped when it overflows the element's clipping
region (which is usually (i.e., unless a contrary declaration is made)
the size of the containing block). The  distinction is important, for
otherwise it renders absurd the statement that overflow applies to
replaced elements, for which content defines the containing block, so
can scarce be said to overflow it.

In addition, I believe that the statement that overflow and clip apply
only to block-level and replaced elements is unnecessarily restrictive -
for overflow to be meaningful it is necessary to be able to define a
clipping region; i.e., the box must be a block box. Since floated
elements always create a block (there surely must be a better term than
this) box, overflow and clip should apply to floats.

-----------------------------------
Please visit http://RichInStyle.com. Featuring:
MySite: customizable styles.         AlwaysWork style 
Browser bug table covering all CSS2 with links to descriptions.
Lists of > 1000 browser bugs         Websafe Colorizer 
CSS2, CSS1 and HTML4 tutorials.      CSS masterclass 
CSS2 test suite: 5000++ tests and 300+ test pages.

Received on Monday, 3 April 2000 07:49:40 UTC