Hi is there a way to expand the width of a parent container so that it fits the contents of the floated elements within it?

If I have two floated elements within a parent element, and the width of those two floated elements can change depending on their content, I would like the width of the parent element to expand to contain them.

At the moment, the floated element would stick out the right of the container.

Thanks.
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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