Title: Misaligned border
Last modified: August 22, 2016

---

# Misaligned border

 *  Resolved [ales-bonelli](https://wordpress.org/support/users/ales-bonelli/)
 * (@ales-bonelli)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/)
 * My table looks like [this.](http://i.imgur.com/gURalvN.png)
    You can see that
   the border of the first row is not aligned with the border of the rest of the
   table. My css code is:
 *     ```
       .tablepress thead th,
       .tablepress tfoot th {
       	background-color: #a4352c;
       	color: #fff;
       }
   
       .tablepress .odd td {
       	background-color: #fff;
       }
   
       .tablepress .even td {
       	background-color: #f7f7f7;
       }
   
       .tablepress .row-hover tr:hover td {
       	background-color: #eee;
       }
   
       .tablepress tr,
       .tablepress tbody td,
       .tablepress tfoot th {
       	border-style: solid;
       	border-width: 1px;
       	border-color: #ddd;
       }
   
       .tablepress thead th {
       	border-style: solid;
       	border-width: 1px;
       	border-color: #fff;
       }
   
       .tablepress tbody td {
       	font-family: Arial, Tahoma;
       }
       ```
   
 * What should I change?
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/#post-5428745)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Are you using the “Horizontal Scrolling” feature for this table? That does not
   work properly in tables with cell borders sometimes, as it can then not set the
   widths properly.
    Therefore, please try turning that checkbox off.
 * Regards,
    Tobias
 *  Thread Starter [ales-bonelli](https://wordpress.org/support/users/ales-bonelli/)
 * (@ales-bonelli)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/#post-5428747)
 * That worked, I really thank you sir!
 *  Thread Starter [ales-bonelli](https://wordpress.org/support/users/ales-bonelli/)
 * (@ales-bonelli)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/#post-5428750)
 * Resolved.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/#post-5428753)
 * 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 4 replies - 1 through 4 (of 4 total)

The topic ‘Misaligned border’ 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

 * [border](https://wordpress.org/support/topic-tag/border/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/misaligned-border/#post-5428753)
 * Status: resolved