Cell/row height + rowspan
Hi,
On the page I have a table with one (main) cell which has a rowspan of 3. The original height of the three rows is not greater that the height of the main cell, so all three rows have increased heights to make up for the extra height.
Is there any way to have only one of the rows adjust, rather than all three? That is, to have the first two rows remain fixed at minimum possible height, and have only the third row flex.
Thanks.
PS: ignore the content -- just filler.
dk01 posted this at 11:34 — 7th April 2002.
He has: 516 posts
Joined: Mar 2002
Offhand I would say to set the heights for the first two 's and not to set it for the third but I am not sure how this would work. You page is neatly organized but it makes me nervous to see pixel and percent mesurements used together in tables like that. If you could change the width from 100% to some pixel measurement then it might be easier to get your tables to line up correctly.
-dk
Abhishek Reddy posted this at 12:24 — 7th April 2002.
He has: 3,348 posts
Joined: Jul 2001
Thanks for replying dk01.
I've already tried doing... well, lots of things, really, involving the height property of tr's and td's. Even tried using css heights. Nothing seems to create a fixed/flex height.
The widths are pretty much organised. I have no problem there (and haven't before --with the mixed measurements).
About the widths: I need to have the main table span the whole width of the screen but to have the nav remain at one width, as the rounded corner images in the navbar are of fixed width.
The vertical gaps between the cells are only caused by the border taking up space.
Upon reviewing my earlier post it seems I was a little unclear.
If anyone is unsure what I'm trying to achieve, then view the page in Opera 6. Opera renders the page as I want it, but IE6, NS6 and NS4.7 don't.
Suzanne posted this at 23:31 — 7th April 2002.
She has: 5,507 posts
Joined: Feb 2000
yes -- instead of using cells, used nested tables. valign the outer two cells in the holding table to the top, then they will stay there no matter what else you do with the middle cell.
Abhishek Reddy posted this at 02:16 — 8th April 2002.
He has: 3,348 posts
Joined: Jul 2001
Thanks Suzanne.
I'll try it and post here if I have any further problems.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.