View Full Version : I got a table question.
sorry ifs not the right forum but how can i make a table's height autostretch? the width is fixed? thanks.
Grandmaster
05.18.03, 06:15 PM
height="100%"
just add that in beside the table width.
Usually you don't have to put a height in the table tag. It'll automaticly grow as more content is put inside. But it's usually good to put in the table data tag valign="top" so it doesn't get centered vertically.
oh yeah i know it stretches as you put content in it...ok this is what i wanna do->
http://portfolio.iu.edu/otseren/page.gif
So the pink box is a table all by itself?
Then make teh main table's width 100% but put height's on all the table data cells above it. Then leave the last one empty or put height="*". Then for the pink table put height="100%". I think that's what you mean. I hope.
or if it's just one big table. Put the height at 100% then put the correct heights you want for the top td cells then leave the pink one empty.
ok thanks a bunch that was it.
What one? first of second example?
And you're welcome.
vBulletin v3.6.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.