WordPress.org

Forums

TinyMCE Advanced
Can't center table (4 posts)

  1. percivalconstantine
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/tinymce-advanced/

  2. percivalconstantine
    Member
    Posted 2 years ago #

    Also, despite setting the border to 0, I'm still getting a border around the table. Very disappointed so far in this app.

  3. diesel43
    Member
    Posted 2 years ago #

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

  4. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TinyMCE Advanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.