[thelist] centering a flexible-width div

Joel D Canfield joel at streamliine.com
Mon Mar 19 13:38:14 CDT 2007

> "margin-left: auto; margin-right: auto;" does not work since 
> the width is not defined ...

I'm curious why this

    margin:0 auto;

would require the width to be explicitly defined, assuming that's what you mean? (of course, the zero could be whatever top/bottom margin you like)


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.13/726 - Release Date: 3/18/2007 3:34 PM

More information about the thelist mailing list