You are here: Re: centering page « HTML « IT news, forums, messages
Re: centering page

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация