Title: Table width always full width
Last modified: January 14, 2018

---

# Table width always full width

 *  Resolved [berniem3](https://wordpress.org/support/users/berniem3/)
 * (@berniem3)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/table-width-always-full-width/)
 * I’m trying to create a table that is less than full width, and also be able to
   control the relative width of the columns. No matter what I’ve tried, the table
   is always full width. I’ve tried the tips in:
    - the FAQ, https://tablepress.org/faq/column-widths/
    - [https://wordpress.org/support/topic/column-width-in-tablepress-2/](https://wordpress.org/support/topic/column-width-in-tablepress-2/)
    - [https://wordpress.org/support/topic/width-of-table-again/](https://wordpress.org/support/topic/width-of-table-again/)
    - [https://wordpress.org/support/topic/cannot-change-tablepress-table-width/](https://wordpress.org/support/topic/cannot-change-tablepress-table-width/)
    - [https://wordpress.org/support/topic/css-problem-not-displaying-full-width/](https://wordpress.org/support/topic/css-problem-not-displaying-full-width/)
    - Example and current status are on the webpage. Thanks for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftable-width-always-full-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/table-width-always-full-width/#post-9862842)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Please try
 *     ```
       table.tablepress-id-3 {
       	width: 500px;
       }
       ```
   
 * (You are not using the DataTables JS library with this table, which is why `#
   tablepress-3_wrapper` will not work.)
 * Regards,
    Tobias
 *  Thread Starter [berniem3](https://wordpress.org/support/users/berniem3/)
 * (@berniem3)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/table-width-always-full-width/#post-9863864)
 * Perfect! Thank you!
 * And I added
 * > margin: 0 auto 1em;
 *  from the FAQ about centering tables and that worked too (although I don’t actually
   know why it works).
 * Thanks for the great tool and great support. I’ve tried several other table editors
   and this is the best.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/table-width-always-full-width/#post-9863884)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Table width always full width’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [column width](https://wordpress.org/support/topic-tag/column-width/)
 * [Plugin CSS](https://wordpress.org/support/topic-tag/plugin-css/)
 * [table width](https://wordpress.org/support/topic-tag/table-width/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/table-width-always-full-width/#post-9863884)
 * Status: resolved