Topic: Stretching a table's height 100%?? (Page 1 of 1) 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%?? (Page 1 of 1)" rel="nofollow" >Topic: Stretching a table&#039;s height 100%?? <span class="small">(Page 1 of 1)</span>\

 
Thumper
Paranoid (IV) Inmate

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

posted posted 12-19-2002 21:24

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

posted posted 12-23-2002 15:19

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

posted posted 12-24-2002 22:14

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