Re: Float overflowing behavior

stylo~ wrote:
> The best way to correct this deficiency is to add a property as suggested,
> or maybe to make the clear property work on floats to force a break
> afterwards, and the container they sit in to stretch, just as the sample
> garbage code does.

#foo {
    float:    left;
    width:    10em;
#foo:after {
    content:  " ";
    display:  block;
    height:   0;
    clear:    both;

No need for such a new property. Just for better browsers. ;)


Received on Wednesday, 14 August 2002 22:06:43 UTC