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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация