Title: Help please with Table width
Last modified: August 22, 2016

---

# Help please with Table width

 *  Resolved [rasinton](https://wordpress.org/support/users/rasinton/)
 * (@rasinton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/help-please-with-table-width/)
 * I have a very simple question to do with column/table width.
 * If you go to [our website](http://prestburytennis.org/competitive-tennis-2/senior-teams/)
   and scroll down a bit then you will see 2 tables (of teams performance in leagues)
 * I would like to reduce the width of the columns and have tried settings width
   to a smaller value. However, I suspect there may be an overall table width setting
   that is preventing the table for contracting.
 * If anyone can help, I will be most grateful.
 * Here is the code I have in the “Custom CSS” bit…..
 *     ```
       #content .LeaguePosition-Format {
       	border: 3px solid #000000;
       }
   
       .LeaguePosition-Format th,
       .LeaguePosition-Format td {
       	padding: 0;
       	border: thin solid #000000;
       	text-align: center;
       	width: 20px;
       	font-size: 16px;
       	line-height: 12px;
       }
   
       .LeaguePosition-Format tbody .column-1 {
       	width: 100px;
       	text-align: left;
       }
       ```
   
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/help-please-with-table-width/#post-5696982)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Yes, it’s the width of the table that needs to be adjusted, too.
 * Just extend the first block of CSS to
 *     ```
       #content .LeaguePosition-Format {
       	border: 3px solid #000000;
       	width: auto;
       }
       ```
   
 * and your individual column widths will be respected.
 * Regards,
    Tobias
 *  Thread Starter [rasinton](https://wordpress.org/support/users/rasinton/)
 * (@rasinton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/help-please-with-table-width/#post-5697116)
 * That’s great, Tobias
 * Thanks (as always!)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/help-please-with-table-width/#post-5697118)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Help please with Table 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

 * [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: [11 years, 3 months ago](https://wordpress.org/support/topic/help-please-with-table-width/#post-5697118)
 * Status: resolved