How to center a table with CSS

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

  1. Matthew

    Matthew Regular Member

    Joined:
    Jan 23, 2004
    Messages:
    144
    Likes Received:
    27
    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.

    http://theodorakis.net/tablecentertest.html

    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
Loading...

Share This Page