On 29 Nov 2005, at 10:18 am, Eric A. Meyer wrote: > http://meyerweb.com/eric/css/tests/float-contain.html > > What I'm trying to do here is simulate 'min-width' for the #contain > div by setting an explicit width of 675px on #topper. And, indeed, > #contain stops shrinking when it's just wide enough to contain > #topper. The problem is the floated "columns", #main and #sidebar, > which have percentage widths and keep shrinking with the browser > window. > So the problem is that while I've managed to stop #contain from > shrinking past a certain point, the "columns" aren't treating it as > their containing block for the purposes of width calculation, which > completely defeats the purpose. Anyone have a way to make the > columns use #contain as their containing block in IE/Win? I Googled > about and came up empty.
It is the ever expanding trick in IE. The width is not really expanded to fit the fixed-width block, only the look of the box. Expressions... This should work * html #container {width:expression((document.documentElement.clientWidth < 675) ? '675px' : auto');} (IE 6, standard compliant mode). Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com/> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/