Roy Schestowitz <newsgroups@schestowitz.com> wrote:
>metalive wrote:
>
>> I have a website with a simple table layout. On some pages, there is
>> only little text in my main content-<td> so the page/table ends half way
>> down the screen displaying the plain black backround. Is there a way
>> (preferably with CSS) to have short pages automatically stretch to the
>> bottom of the browser's display area?
>
>Add the following to your table:
>
>style="height: 100%;"
On its own that only works in quirks mode. In standards mode you need
to also set the height of the body and html elements to 100%.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
|
|