You are here: Re: 100% height container « HTML « IT news, forums, messages
Re: 100% height container

Posted by BootNic on 05/06/07 03:58

> Neredbojias <neredbojias@gmail.com> wrote:
> news: Xns9927BEAECB75Fnanopandaneredbojias@208.49.80.251
> On Fri, 04 May 2007 09:45:20 GMT JD scribed:
>
>> Hi
>>
>> Suppose I want a container that fills the entire height of the
>> browser window, regardless of the actual height.
>>
>> In quirks mode, you can do this:
>>
>> <table width="70%" height="100%">
>> <tr>
>> <td>1</td>
>> </tr>
>> </table>
>>
>> However, how do I do this using CSS in standards mode? Is it
>> possible?
>
> It is in other browsers, but I have found no way to make it work in
> IE6 without using quirks mode.
>
> What I do do (-no comments) is use php to install the quirks mode
> doctype for IE6, standards mode for all others.

html, body {
height:100%;
}

[url]
http://home.earthlink.net/~bootnic/100PercentTableHeight.html
[/url]

--
BootNic Saturday, May 05, 2007 11:58 PM

The only thing that saves us from the bureaucracy is inefficiency. An
efficient bureaucracy is the greatest threat to liberty.
*Eugene McCarthy *

 

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

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