This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > setting table height to max





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author setting table height to max
Greg Scheeler

2004-03-18, 7:29 pm

is there some way to get a table to stretch vertically to the maximum height
(to fill the screen). i know that we're not supposed to set the table
height to 100%, so is there some other way to do this? can it be done with
CSS?

--
Greg Scheeler
http://gpswebdesigns.com
email: greg_scheeler@gpswebdesigns.com


Gary White

2004-03-18, 8:29 pm

On Thu, 18 Mar 2004 15:06:11 -0800, "Greg Scheeler"
<gpswebdesigns@yahoo.com> wrote:

>well, gues i can do that... i just keep reading that it's not proper HTML..
>just wondering if there is a proper way to do it...



You could use CSS.

<style type="text/css">
html,body,#talltable{height:100%}
</style>

Then assign the ID talltable to your table:

<table id="talltable">

Seems to work in modern browsers.


Gary
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews