@CFHuttonDec 03.2009 — #Lots of possible answers to your question, but a little more info would be helpful to narrow down the possible options.
The obvious answers:
1. Make the table smaller.
2. Make the div larger.
Since one can assume those aren't sufficient, you might could consider using a 'thumbnail' size picture of the table that has a 'click to enlarge' link below it, which, when clicked, opens a 'lightbox' type popup to display the table at full size.
Also, the overflow property can be used to make the div scrollable, but that rarely seems like a good answer...
@CFHuttonDec 04.2009 — #I'd suggest trying the php forum. I might could cobble something together but without the ability to test it, it would be an embarrassing display ?