Jeroen wrote:

> It seems when you have a container and floats inside them, the
> container does not stretch to the size of the floats. Is there a way
> to overcome that problem without specifying the sizes explicitly?
> 
> Sample code: <http://test.intellit.nl/floats.html>.

Sure. It's the old "expand to contain floats" problem, for which there
are a multitude of methods and variants.

I think the simplest and safest method for your case, is "easyclearing"...
<http://www.gunlaug.no/tos/alien/jer-1/test_07_1223.html>
...with a minor bug fix for IE/win - just for your case.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to