Sent by Bruno Fassino on 11 October 2004 00:12
Al Sparber wrote:
> The fixes do seem to be situational and perhaps the best way to
> approach it is based upon optimized layouts. Here is a test
> suite I've begun:
> http://www.projectseven.com/csslab/testing/emfix/
Al,
I agree perfectly with you that the fixes need to be 'situational', and that
a practical and as-simple-as-possible approach is always the better.
However, after looking at your pages I think that you missed a couple of
points in the original article [1].
Sure I wasn't clear enough, and I know that my English is not good ;-)
So I'm now trying to show you that what you are saying is not so different
from what is written in the original article.
1) <http://www.projectseven.com/csslab/testing/emfix/2cfixed.htm>
I mentioned in the article that 'overflow:hidden' (together with a width
that your containers already have!) is a fix for all IE5+/Win.
But since IE5.5+ is fixed by 'overflow:visible', I still prefer to feed
'hidden' to IE5.0 only, since I consider this a bit dangerous: there is
always the risk to hide other unwanted content.
2) <http://www.projectseven.com/csslab/testing/emfix/2col1fluid.htm>
As I see it now, the problem is not fixed here ;-)
The original reasons for this test case, as stated in the article, are the
following:
- In <http://www.positioniseverything.net/explorer/sidepages/IEt_fis.html>
the dropping problem is not present (and the CSS is simple, like yours!),
because the 'main' column does not have any dimension (does not have
layout, in MS parlance)
- The bug occurs as soon as the main column has layout (example
<http://www.positioniseverything.net/explorer/sidepages/IEt_fih.html>) To
make the test case a bit realistic I applied the same fixes that one usually
applies to get rid of the 3px jog, that is present in the previous example.
- Finally in
<http://www.positioniseverything.net/explorer/sidepages/IEt_fioh.html> the
fixes are applied (incorporating them with the 3px-jog ones) and the problem
solved.
So you can stick with the first example where the dropping doesn't occur
(and the css is 'simple'), but this is unlikely, since there are many causes
that can give 'layout' to the main column and trigger the bug. I agree that
the fixes may appear a bit complicated, but this wanted to be a 'slightly'
more realistic case (incorporating the 3px jog fixes), and (as I said
before) I purposely avoided feeding 'overflow:hidden' when not necessary.
Bruno
[1] <http://www.positioniseverything.net/explorer/italicbug-ie.html>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/