I am trying to make a table with rows that take up only the space they need vertically. Is there any way to do this with CSS without setting the last cell to a height of 100%?
This question is pretty similar to this question only in the other direction.
Currently looks like this:
---------------------------------
| |
|thing 1 |
| |
---------------------------------
| |
|thing 2 |
| |
---------------------------------
| |
|thing 3 |
| |
--------bottom of table----------
how do I get it to look like
---------------------------------
|thing 1 |
---------------------------------
|thing 2 |
---------------------------------
|thing 3 |
| |
| |
| |
| |
| |
| |
--------bottom of table----------
or, alternatively like:
---------------------------------
|thing 1 |
---------------------------------
|thing 2 |
---------------------------------
|thing 3 |
--------bottom of table----------
-----bottom of containing div------