Posted by Els on 04/16/06 09:40
Bob wrote:
> How can I center the whole container in IE its is centered in firefox
>
> <?xml version="1.0" encoding="utf-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Take out the <?xml ... line and IE will be in Standards mode and it
will center your page like it does in Firefox.
That line throws it in Quirksmode. If you want to center it in
Quirksmode, use old IE5 method for centering:
http://locusmeus.com/html-css/centeringpage.html
--
Els http://locusmeus.com/
[Back to original message]
|