Title: Border styling CSS question
Last modified: August 20, 2016

---

# Border styling CSS question

 *  Resolved [MarkFL](https://wordpress.org/support/users/markfl/)
 * (@markfl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/)
 * Hi Tobias,
 * I am struggling with the styling to achieve a border around the outside of the
   entire table rather than on every cell. Hoping you can help with the CSS which
   currently is:
 * ‘.tablepress-id-29 thead th,
    .tablepress-id-29 tbody td { border: 2px solid #
   8C480D; }’
 * Many thanks for your help,
    Mark
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624950)
 * Hi Mark,
 * to get a border around the entire table, please try
 *     ```
       .tablepress-id-29 {
         border: 2px solid #8C480D;
       }
       ```
   
 * If that does not help, please post the link to the page with the table.
 * Regards,
    Tobias
 *  Thread Starter [MarkFL](https://wordpress.org/support/users/markfl/)
 * (@markfl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624952)
 * Hi Tobias,
 * That worked first time, thank you! One small thing, you can see the lines between
   each row and I’d rather they weren’t visible. The site is under wraps at the 
   moment so don’t want to link to it publicly – I can send it privately to you 
   though?
 * Thanks again.
    Mark
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624954)
 * Hi Mark,
 * sure, you can send me an email (the address is in the main plugin file “tablepress.
   php”).
    It might however be quicker if you first try the “Custom CSS” from the
   question “How do I remove the borders from a table?” in the TablePress FAQ at
   [http://tablepress.org/faq/](http://tablepress.org/faq/) You’ll just have to 
   remove the very first line of that, and I recommend to place that before the 
   CSS code that I posted above.
 * Regards,
    Tobias
 *  Thread Starter [MarkFL](https://wordpress.org/support/users/markfl/)
 * (@markfl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624963)
 * Perfect! Thanks Tobias, brilliant, quick, helpful support.
 * Regards, Mark
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624965)
 * Hi Mark,
 * great to hear that this helped! 🙂 You are very welcome!
 * 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 ‘Border styling CSS question’ 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/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/border-styling-css-question/#post-3624965)
 * Status: resolved