How should get table centered?

Giganews Newsgroups
Subject: How should get table centered?
Posted by:  dubi…@gmail.com (dubi…@gmail.com)
Date: 3 Apr 2007

Hi,

I'm trying to do align table center in CSS like this.  But it doesn't
work.

..tx-gooffotoboek-pi1 table {
text-align: center;
}

I can do <table align="center"> but it's said deprecated.  Hence the
how to center table question.

Thanks in advance for any help.

Bing

Replies