- From: Lydia Lalopolis <lalopolis2@firstcampus.de>
- Date: Thu, 15 Aug 2002 04:09:04 +0200
- To: www-style@w3.org
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. ;)
--
Lydia
Received on Wednesday, 14 August 2002 22:06:43 UTC