Reply to Re: how to vertical align a site to the center of the screen

Your name:

Reply:


Posted by Els on 08/03/05 16:43

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 -

[Back to original 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

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