Posted by Thomas Jollans on 04/16/06 12:33
Els wrote:
> 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
>
you mean a line that has a rightful place in every *standard* XHTML document
throws a browser into quirks mode ?! that makes no sence...
--
Thomas Jollans - http://jollybox.de/
GNU/Linux - freedom, functionality, power - what more do you want ?
When in doubt, follow the penguins.
[Back to original message]
|