[thelist] Vertically Centering Tables

Stephen Caudill SCaudill at municode.com
Wed Feb 19 15:44:01 CST 2003


Nebula wrote:
><><><><><><><><><><><><><><><><><
>
> Everything would be fine if you could just assign tables heights (and
> have it be in the standard)!  >:O  (and no, putting the table in a
> class where it specifies a height doesn't work...atleast not for me.)
>
><><><><><><><><><><><><><><><><><

<tip type="css/100% height" author="stephen caudill">
When declaring percentile height for an element, its parent must have a declared height so the element can derive what the available space is that it must fill a percentage of.
In most cases this will do the job:
body{
height:100%;
}
</tip>



More information about the thelist mailing list