Sent by Ingo Chao on 14 February 2006 08:08
Brett Leber wrote:
> ... For conditional comments, do you think I should target IE6+ with these
> additions? Out of curiosity, does IE7b2 render the table similarly to
> IE6 (ie, off the screen) without your two additions?
IE7b2 does render the page identical to IE6. And the fix does work in
IE7b2 too. That said, there are different approaches to the problem that
IE7 is not real: IE7b2 is a beta that could be followed by a number of
betas and gammas. For example, they are asked to implement min-width,
max-width. If they do, it might be that they have to fix a number of
issues like this one you've encountered on that long way. On the other
hand, they have stated that the "haslayout" issue itself (how elements
are bound) is not changed, so I assume we will still need things like
zoom for a while -- but I can't know for sure.
Therefore, I think while it's important to test the hacks in IE7b2, it's
save to keep the conditionals excluding IE7:
<title>Data Shop</title>
<link rel="stylesheet" href="allbrowsers.css" type="text/css" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="iefix.css" type="text/css" />
<![endif]-->
</head>
and iefix.css
/*
fix to bridle the table, prevents overflowing of the viewport
works in IE7b2, too
*/
#preview { float: left; }
#contents { zoom: 1; }
Once IE7 is more final, you can revisit these hacks and easily switch
the conditional from lt to "less than or equal to": lte.
> Lastly, how did you know that 'flow:left' and 'zoom:1' would do the
> trick? I vaguely remember the redundant but effective 'zoom:1' being
> mentioned in an article. Is either or both documented elsewhere?
I don't know those things, I have to try. We have compiled some
information on related problems here
http://www.satzansatz.de/cssd/onhavinglayout.html
Ingo
PS With bottom posting, I meant start typing below the quoted phrases ;)
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/