>> Add... #container {display: table-cell;}

> Now, a question: why? Why does this work and why is it needed?

A table-cell will always expand enough to make its content fit inside.
That's how a table-cell work, regardless of whether it's in a genuine
HTML table, or declared as a display-option in CSS.

It is needed because the default behavior in all good browsers is to
honor dimensions declared on an element - except when it's a
table-element where table-rules take over.

Needless to say that no version of IE can be called "good" in this
respect, since they're all too buggy and lack relevant CSS support.

--------

Apart from the above; the source-code (HTML) in that page is so full of
non-valid and substandard stuff that the outcome is relying on error
recovery in all browsers anyway.
You should seriously consider a clean-up and upgrade to something a
little more in line with the doctype you've pasted in there.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to