On 6 Mar 2007, at 11:40, Gunlaug Sørtun wrote:
> ron zisman wrote:
>> http://www.ricochet.org/adv_buyer/new_tue.html
>>
>> can't seem to get clear on how to contain floats.
>
>> a little insight would be appreciated
>
> The floating #wrapper will contain floats alright, but #container  
> can't
> float since it has to stay centered.
>
> #container {overflow: hidden;}
>
> ...and see if you're happy with the effect.

You may also want to consider adding the proprietary zoom:1; property  
to force hasLayout in IE, which makes it contain floats.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to