Hey all,
I have a problem in IE/Win that's driven me straight up the wall,
across the ceiling, down the other side, and under the carpet.
Here's my minimal test case:
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.
If you're having trouble visualizing what I'm trying to do, test
the above-referenced file in Firefox or Safari or any recent browser
other than IE/Win and you'll see what I'm after.
(And I even tried 'expression' on 'width' for #contain to simulate
'min-width' in IE/Win. The expression locked up IE/Win as soon as
the "narrower than 675" condition was invoked-- so that's not a
viable solution either, even if it were on-topic, which it wouldn't
be. But I thought I'd mention what happened in case anyone was
thinking of suggesting it.)
--
Eric A. Meyer ([EMAIL PROTECTED])
Principal, Complex Spiral Consulting http://complexspiral.com/
"CSS: The Definitive Guide," "CSS2.0 Programmer's Reference,"
"Eric Meyer on CSS," and more http://meyerweb.com/eric/books/
______________________________________________________________________
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/