Bruno Fassino schrieb:
Ingo Chao wrote:
As mentioned before, in Op8, the td "contains" the a.p. nav. I would
file this as a bug or regression from 7.54, but I'm not sure, is this a
Acid2 line? Can anyone explain this to me? What is Safari showing?
It seems that's not the "td" but the a.p. header that in Op8 becomes bigger,
and apparently this is caused by the contained float having a top margin.
I recreated a small test case [1] with 3 containers (a.p., with
overflow:hidden, with overflow:auto) each containing a floated element with
a top margin. In Op8, in all cases the container correctly expands to
enclose the float, but the top margin is also replicated as bottom margin!
I've seen in the past very similar problems, so I can't say if this is
really a new bug (anyway it is not present in Op7.)
Bruno
[1] http://www.brunildo.org/test/test/Op8encfloat.html
Thanks Bruno for coming to aid! Nice test case, as always!
I agree this is a bug. But is it a margin-bottom mirrored from margin-top?
but
.fl { ... margin: 50px 0 -100px 0; ... }
doesn't have any effect,
and
.fl { ... margin: 50px 0 0 0; position:relative; bottom:-100px;... }
or
.fl { ... margin: -25px 0 0 0;... }
makes me feel sad about my new toy.
Ingo
______________________________________________________________________
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/