How to center a table with CSS

Discussion in 'Web Development and Programming' started by Matthew, Aug 10, 2011.

  1. Matthew

    Matthew Regular Member

    Jan 23, 2004
    Likes Received:
    Now that the <center> tag is decapretated, it is actually much more complicated that it should be to center tables in CSS.

    This is the article that worked for me, and if you are making your own custom website using CSS you will probably have to center a table.

    Good luck if you are still one of the great users using good old-fashioned CSS instead of these fancy wordpress and joomla templates!
Similar Threads

Share This Page