• I have looked at everything with firebug on this page, and cannot find the style that is forcing the table to be left justified. In edit on WordPress it appears to be centered the way I want, but when I view in the browser (Chrome) it is left justified. The text is centered but table is not. What am I not seeing?

    re: http://173.236.67.81/~thequilt/batting-backing/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Read through this article. It explains how to center things on a website.

    Quick fix, edit the HTML to look like this:

    <table cellspacing="2" cellpadding="2" border="1" style="border-color: #C50143; border-width: 1px; ; width: 400px; margin: 0 auto;">

    Fix:
    1) Removed the class element from the table.
    2) Added margin: 0 auto; to the style portion.

    margin: 0 auto says, put nothing above (or below) of the table, but calculate and auto center the table.

    Hope this helps.

    Thread Starter frameitsam

    (@frameitsam)

    You are the best Cenay. THis worked perfectly! And thanks for the super fast reply.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table won't align, want centered’ is closed to new replies.