The content of a table cell is another table. How do I get the embedded
table centered with css?
You have two options:
1. Stop nesting <table>s.
2. Tell us your Very Good Reason why nesting <table>s is the right
thing to be doing. Probably by posting a URL to your example site.
It's not _wrong_ to nest tables, it's just extremely rare for it to be
a good idea, very common for it to be a bad idea from 10 year old
code. We'd hate you to mis-code your site in that particular way
If you want to understand CSS alignment, then you need to understand
that it comes in two different flavours (HTML 3.2 only had one). It's
more complicated because it's more flexible. One is about aligning
%block; elements (such as <table>) and is done by controlling their
margins, such as setting margin: 0 auto; (There's a little more to
learn, to get it to work reliably for poor browsers). The other is for
aligning %inline; elements such as string of text and is done through
the text-align property.