You are here: Re: how to vertical align a site to the center of the screen « HTML « IT news, forums, messages
Re: how to vertical align a site to the center of the screen

Posted by Eirik Eldorsen on 08/03/05 17:10

Ahhh perfect! :-D

Thank you!


"Els" <els.aNOSPAM@tiscali.nl> skrev i melding
news:1c6qb2zw4hdxt.m5lwt71tzr6s.dlg@40tude.net...
> Eirik Eldorsen wrote:
>
>> "Els" <els.aNOSPAM@tiscali.nl> skrev i melding
>> news:1n6npu4dbm9jw$.ly3rs897vevk$.dlg@40tude.net...
>>> Set a height on the td.
>>
>> Nope that did'nt help. Works in IE though. But not in Firefox and Opera.
>
> One tip for debugging problems:
> Add *{border:1px solid red;} to your styles, and see what really
> happens.
> In your case, the text stays at the top, cause the td has 100% height
> of the table, which has 100% height of the body, which has 100% height
> of the html, which you didn't give any height ;-)
>
> html{height:100%;} (in a styleblock in the <head> or in your
> stylesheet) will help.
>
> --
> Els http://locusmeus.com/
> Sonhos vem. Sonhos v�o. O resto � imperfeito.
> - Renato Russo -

 

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

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