Previous Message
Next Message

centering a div in the browser

Sent by David Dorward on 4 January 2005 17:05


On Tue, 04 Jan 2005 11:55:17 -0500, Marty Martin [EMAIL-REMOVED]> wrote:
> I am trying to center a container div on my webpage using the
> style="margin: 10px auto;".  This works great until I declare the page
> an XML document using:  <?xml version="1.0" encoding="UTF-8"?> above the
> doctype.

Welcome to Internet Explorer Quirks Mode.
http://dorward.me.uk/www/centre/#ie

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: