Support » Plugin: TinyMCE Advanced » Can't center table

  • I’ve been messing around with this for over an hour so far with no luck. The only thing I want to do (and the only reason I downloaded this plugin in the first place) is to display a centered table, with each cell holding an image in it. In the editor, this shows up fine, the table is centered, the width is exactly how I want it, everything’s good. But the moment I preview or publish the page, the table is always displayed aligned to the left, which is exactly what I don’t want.

    I’ve tried adding a center HTML tag, tried messing around with the attributes in table properties, tried changing the image alignments, and tried selecting the table in visual editor and clicking the center button. Nothing works. I can get it right-aligned, but not center.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Also, despite setting the border to 0, I’m still getting a border around the table. Very disappointed so far in this app.

    Any update on this post? also can;t get rid of border

    Plugin Author Andrew Ozz


    WordPress Dev

    I would suggest editing your theme’s style.css and adding a new class for centered tables, then add that class to the tables you make in the Visual editor.

    Alternatively try adding `style=”margin-left: auto; margin-right: auto;” on the TABLE tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't center table’ is closed to new replies.