Add structure and style features for tables.

We needed these changes to create a theme that matched some specific customer requirements. I'd be happy to split these into separate pull-requests if that's preferred. Thanks!