Best way for background to increase in size?

How do they have it so that when more content is added the content bg increases vertically?

I guess using the tables bgcolor is the best way.

Maybe you guys have any recommendations?

Eventually i want something that extends along with a tiling dropshadow behind it if possible.