Title: table width 100%
Last modified: August 30, 2016

---

# table width 100%

 *  Resolved [suncity](https://wordpress.org/support/users/suncity/)
 * (@suncity)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/)
 * im currently using this great plug in but i cant seem to get the table to reduce
   in size. I want the table to stretch to 80% of the content box so theres a gap
   between the edge table and the content box.
 * [http://tscharke.suncityent.com.au/purchasewines/](http://tscharke.suncityent.com.au/purchasewines/)
 * any help will be greatly appreciated!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506156)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason why your “Custom CSS” code is not working as expected is that it’s
   overwritten by some CSS of your theme. We’ll therefore just have to raise its
   priority, by appending the `!important` keyword, i.e. just change a line like
 *     ```
       width: 60%;
       ```
   
 * to
 *     ```
       width: 60% !important;
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [suncity](https://wordpress.org/support/users/suncity/)
 * (@suncity)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506157)
 * Hi Tobias,
 * thanks for your quick response and now the table is aligned left. is there a 
   way to centre it?
 * Thanks again
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506163)
 * Hi,
 * sure! For that, you could also add the command
 *     ```
       margin: 0 auto !important;
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [suncity](https://wordpress.org/support/users/suncity/)
 * (@suncity)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506164)
 * you are a legend Tobias!!
 * Thanks for your assistance and i’ll be sure to recommend this plug in to other
   people.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506193)
 * 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](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘table width 100%’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/table-width-100/#post-6506193)
 * Status: resolved