On 7/3/05, Linda H <[EMAIL PROTECTED]> wrote: > I can't figure out why I can't get an image to center (actually it doesn't > work when I replace the image with text either). I am using a div with a > class that has an attribute 'margin: auto;'. My understanding is that div > uses the box model, so I don't understand why margin: auto doesn't work.
The div is centred, or are you testing only in Internet Explorer? http://dorward.me.uk/www/centre/#ie -- David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk> ______________________________________________________________________ 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/