WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate TinyMCE
[resolved] Align Table to centre (4 posts)

  1. du3z
    Member
    Posted 2 years ago #

    Hi guys,

    was trying to align my table to the center of the post. No matter what I tried, whether i selected the whole table and use a center justified, or i go into table properties and use center, it messes things up.

    Help, driving me crazy~

    http://www.sghomeonline.com/singapore-district-guide/
    this is the page that i'm trying on

    TIA!

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

  2. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 2 years ago #

    I apologize. Tables are really tricky while working with the editor. It's probably why the WordPress "powers that be" left it out originally.

    Anyways, there are ways around this.

    If you select your table, and click on the HTML button, NOT the tab, but "Code Magic" button, you will see this part where your table begins:

    <table border="0">

    Change that to this:

    <table border="0" style="margin-left:240px;">

    This will add a left margin to only that table, and not every table on your website. This is the best "hack" I can offer :)

  3. du3z
    Member
    Posted 2 years ago #

    Hi Josh, that does work though,

    thank you very much!

  4. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 2 years ago #

    Excellent. Glad to help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic