When you are defining borders around tables it is important to remember that there are two different "objects" in tables for which you can define borders: The table itself and the cell. Cell borders and table borders have separate settings.

 

See also:

Nested tables

Table Properties (Reference)

How table sizing works (Reference)