If you apply the style to the table rather than the rows or cells, you'll get a border around the table only. Try this for the CSS style:
Code:
<style type="text/css">
.bordered-table
{
border: 1px solid;
}
</style>
and here's an example of applying it to a table:
Code:
<table class='bordered-table'>
<tr><td>one</td><td>two</td><td>three</td></tr>
<tr><td>1</td><td>2</td><td>3</td></tr>
</table>