Mette Haahr wrote:

> Now, why does it work?:o)

The power of W3C-standard CSS, I guess.

'Visual formatting model - 9.4.1 Block formatting contexts' says:
"Floats, absolutely positioned elements, inline-blocks, table-cells, and
elements with 'overflow' other than 'visible' establish new block
formatting contexts."
        -- <http://www.w3.org/TR/CSS21/visuren.html#q15>

IE6 doesn't understand the W3C-standard on this point, but it so happens
that a 'bug/proprietary feature' in IE/win does the same thing, so we
don't have to worry about it. See:
<http://www.satzansatz.de/cssd/onhavinglayout.html>

        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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