If you want your table to have a flexible size, you might need to wrap the table in a <div> element to give yourself access two background images - one for the table, one for the div - that will then appear as one border with rounded corners. This is because current CSS only allows one background-image for each element, unfortunately. The "sliding doors" technique is relevant, here is an article about it:
http://www.alistapart.com/articles/slidingdoors/