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

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/

 

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

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