Topic: Stretching a table's height 100%?? Pages that link to <a href="https://ozoneasylum.com/backlink?for=10881" title="Pages that link to Topic: Stretching a table&amp;#039;s height 100%??" rel="nofollow" >Topic: Stretching a table&#039;s height 100%??\

 
Author Thread
Thumper
Paranoid (IV) Inmate

From: Deeetroit, MI. USA
Insane since: Mar 2002

IP logged posted posted 12-19-2002 21:24 Edit Quote

I can't seem to get a table's height to cover 100% of the browser window in any browser except IE. Is there a CSS workaround for this? As of now, the table only stretches with the content; where if the content is say 50 pixels high, the footer of my table only stretches that much + its size. Any idears?

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

IP logged posted posted 12-23-2002 15:19 Edit Quote

I've always done this by saying

<table height="100%">

and I'm sure that it works this way in IE and Mozilla, and probably most other browsers.

So if this doesn't work on your page then it's probably something else in the code causing the problems - just post a link to the page you're working on and we'll see.

HZR
Bipolar (III) Inmate

From: Cold Sweden
Insane since: Jul 2002

IP logged posted posted 12-24-2002 22:14 Edit Quote

You can also try

code:
html, body {
height: 100%;
}


assuming your table's height is 100% now.
Otherwise, post a link as kuckus said.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu