Josh Owens wrote:
Hi all, First time I have used the list. I was wondering if someone could explain why firefox would push a table outside of the div that contains it. Working fine on Internet Explorer 6 & 7. Any help would be much appreciated.

Basically because a div is not supposed to "contain" anything-- unless
we define them to. IE/win get it wrong because of the way it forces
'layout' on elements with given dimensions.
See: <http://www.satzansatz.de/cssd/onhavinglayout.html> for more on the
subject.

http://www.susdoctores.com/susdoctores.php

In that page it'll be enough to add:
#body {clear: both;
margin: 0 auto;}
...to force the div down below the nav, and make it center properly in
standard-compliant browsers.

regards
        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