Support » Fixing WordPress » Tables in Posts?

  • Resolved meljgrey


    I am trying to insert a table in my post, but for some reason, no matter how small I make the table, it still “sticks out” on the right side. In other words, it overlaps onto the sidebar.

    Is there a specific way I should format tables for WordPress?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I used table in my WordPress blog all the time and it works perfectly for me. Make sure you have the proper “width” attribute for your table. Your overlap might be due to the theme you’re using too, which one you’re using?

    It will be helpful if you can include a link to your site as it’s easier for others to see your problems.

    Thanks for your suggestion. As it turns out, the problem was arising out of the font size. Because my stylesheet did not contain a tag for table or td, the font was defaulting to the posting font. In order to get around this, I created a style class with a smaller font, then assigned that class to the table directly in the HTML of the post.

    Most themes do not use table, thus you can define table CSS properties directly instead of creating a CSS class and assigning them to table when writing a post. You can change the default font size for table by putting this CSS in your stylesheet:

    table {
    font-size: 11px;

    I’m having the same difficulty with a plugin I am writing. I’ve tried adding css styles, but I guess I have a lot to learn about css. Any thoughts or suggestions would be appreciated.


    I have had a problem with a table in a post. It seems alright on 1024 x 768 but I checked it on a friends machine who has 1280 x 1024 and the table appears below the menu.

    here is the link.

    Support Forums

    Currently I have <table width=600>Table contents</table>

    and maybe I should have a class defined? or something

    Any Ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tables in Posts?’ is closed to new replies.