Ingo Chao wrote:

martin f krafft schrieb:

But if you look at http://debiansystem.info -- it's all based on
floats. Why does it not work in this one case???


You might want to find this bugzilla entry interesting:

https://bugzilla.mozilla.org/show_bug.cgi?id=14984
compare the third attachment. And look at the date the bug was reported.

As mentioned by Niek, the table shall not overflow the float the right float.
And its in the specs
http://www.w3.org/TR/CSS21/visuren.html#floats

"The margin box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself."

Firefox is _wrong_ , Opera is right, and IE does not know how to handle floats at all, and in this time, it looks like as if IE is right, but thats not method, but chance. ;)


As Ingo said, the reason that this is happening is because FF is actually wrong in this case. Floats shouldn't overlap tables.

But another solution, if you don't want to use absolute positioning, would be to move the image into the table cell and just float it from within there. I can't say I've ever played around with floats inside table cells (only use tables for data nowadays, and haven't had a need for floated data), so this method may have its own quirks. Worth a try at least. Let us know what you find either way.

Zoe

--
Zoe M. Gillenwater
Design Specialist
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
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/

Reply via email to