Title: Set table width to 100%
Last modified: November 3, 2016

---

# Set table width to 100%

 *  Resolved [ltamm](https://wordpress.org/support/users/ltamm/)
 * (@ltamm)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/)
 * I want to set my table width to 100%. Should i then set the column widths in %
   instead if pixels?

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8390258)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * The table width should actually be at 100% already. Can you please post a link
   to the page with the table where this problem happens, so that I can take a direct
   look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [ltamm](https://wordpress.org/support/users/ltamm/)
 * (@ltamm)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8391463)
 * You’ll find the page on wordpress.westiealliansen.se/anvanda-hanhundar/
    Would
   you please look at my page on an iPad (landscape mode) where the text in column
   2 is on two lines. It’s a date so it’s doesn’t look very nice.
 * Kind regards and thank you for your quick answers
    Lena
 * PS My HP is for a dog club with several tables, but this one was the first I 
   mad yesterday.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8392248)
 * Hi,
 * thanks for the link! So what you actually want is to prevent the dates from showing
   in two lines. For that, please add this to the “Custom CSS” textarea on the “
   Plugin Options” screen of TablePress:
 *     ```
       .tablepress-id-3 .column-2,
       .tablepress-id-3 .column-6 {
         white-space: nowrap;
       }
       ```
   
 * With this, the dates will always be one line, no matter what the column widths
   are.
 * Regards,
    Tobias
 *  Thread Starter [ltamm](https://wordpress.org/support/users/ltamm/)
 * (@ltamm)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8395129)
 * Thank you!
 * It works fine.
    Regards Lena
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8397853)
 * 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 5 replies - 1 through 5 (of 5 total)

The topic ‘Set table width to 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: [9 years, 6 months ago](https://wordpress.org/support/topic/set-table-width-to-100/#post-8397853)
 * Status: resolved