Title: Table Rows Too High
Last modified: November 7, 2016

---

# Table Rows Too High

 *  Resolved [eubie](https://wordpress.org/support/users/eubie/)
 * (@eubie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/)
 * Hello Tobias,
 * first off, thank you much for this awesome plugin.
 * I have managed to either fiddle around long enough or find answers to all of 
   my questions except for this one. I have a table with two rows where the first
   row is huge text, the second row is small text.
 * The problem is that my first row is too high – I would like to get rid of the
   empty space above and below the text so that both rows’texts sit close together.
   I have set padding and margin to 1px, to no effect.
 * Below is my complete CSS related to this table. On [this page](https://www.dropbox.com/s/19tffbp19hii6lb/table.png?dl=0)
   I have made a screen of the table with text being selected so that you can see
   the empty space below and above the first row’s text.
 * Could you please push me in the right direction?
 * Many thanks and regards to Germany,
    Daniel
 *     ```
       /*   Column Settings */ 
       .tablepress-id-4 tbody td {
       	border-bottom  : none !important;
       	border-top   : none !important;	
       }
   
       .tablepress-id-4 .column-1 {
       	text-align: center;
       	border-right : 1px solid #D3D3D3;
       }
   
       .tablepress-id-4 .column-2 {
       	text-align: center;
       	border-right : 1px solid #D3D3D3;
       }
   
       .tablepress-id-4 .column-3 {
       	text-align: center;
       	border-right : 1px solid #D3D3D3;
       }
   
       .tablepress-id-4 .column-4 {
       	text-align: center;
       	border-right : 1px solid #D3D3D3;
       }
   
       .tablepress-id-4 .column-5 {
       	text-align: center;
       	border-right : 1px solid #D3D3D3;
       }
   
       .tablepress-id-4 .column-6 {
       	text-align: center;
       }
   
       /*   Row Settings */ 
       .tablepress-id-4 .row-1 {
       	background-color: #FFFFFF;
       	font-size: 40px
       	font-weight: normal;
       	}
   
       .tablepress-id-4 .row-1 tr {
       	line-height: normal;
       }
   
       .tablepress-id-4 .row-1 td {
       	padding-top : 1px !important;
       	padding-bottom : 1px !important;
       	margin-top : 1px !important;
       	margin-bottom : 1px !important;
       	height  : 20px !important;
       }
   
       .tablepress-id-4 .row-2 {
       	background-color: #FFFFFF;
       	font-weight: normal;
       	font-size: 15px
       }
   
       .tablepress-id-4 .row-2 td {
       	padding-top : 1px !important;
       	padding-bottom : 1px !important;
       }
       ```
   
    -  This topic was modified 9 years, 7 months ago by [eubie](https://wordpress.org/support/users/eubie/).

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8406137)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * This looks like a `line-height` problem. Please try changing
 *     ```
       .tablepress-id-4 .row-1 tr {
       	line-height: normal;
       }
       ```
   
 * to
 *     ```
       .tablepress-id-4 .row-1 td {
       	line-height: normal;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [eubie](https://wordpress.org/support/users/eubie/)
 * (@eubie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8406502)
 * Hi Tobias,
 * still the same:(
 * Daniel
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8407320)
 * Hi Daniel,
 * then I would need to see the table directly on the page. 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 [eubie](https://wordpress.org/support/users/eubie/)
 * (@eubie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8429701)
 * Hi Tobias,
 * thank you for an answer, [here](http://www.bencik.cz/tablepressissue/) is a link
   to a sample page.
 * Regards,
    Daniel
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8430220)
 * Hi Daniel,
 * please change that `height: 20px !important;` to just `height: auto;` (or leave
   it out alltogether), and then set a line height via `line-height: 14px;`
 * Regards,
    Tobias
 *  Thread Starter [eubie](https://wordpress.org/support/users/eubie/)
 * (@eubie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8430416)
 * Hello Tobias,
 * many thanks!
 * Daniel
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8431004)
 * 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 7 replies - 1 through 7 (of 7 total)

The topic ‘Table Rows Too High’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/table-rows-too-high/#post-8431004)
 * Status: resolved