Title: Change table border
Last modified: August 21, 2016

---

# Change table border

 *  [marcophile](https://wordpress.org/support/users/marcophile/)
 * (@marcophile)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/)
 * In style.css it write
    table, caption, tbody, tfoot, thead, tr, th, td { border:
   0; how to make table, caption, tbody, tfoot, thead, tr, th, td { border: 10; 
   in child theme Thanks

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

 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803712)
 * you can use pixel 10px but that would be a really wide border. Try using these
   styles
 *  border:1px solid;
    border-collapse:collapse;
 * The first makes a border 1 pixel wide and the second command create one line 
   between each cell.
 * If you don’t use the second style each cell will have its own border.
 *  Thread Starter [marcophile](https://wordpress.org/support/users/marcophile/)
 * (@marcophile)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803716)
 * Thanks you how do it in child theme
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803720)
 * it depends on where the tables are located. For example if they are all enclosed
   in the same class you would use code like this.
 * .myclass table, caption, tbody, tfoot, thead, tr, th, td { border:1px solid [
   color]; border-collaspse}
 *  Thread Starter [marcophile](https://wordpress.org/support/users/marcophile/)
 * (@marcophile)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803726)
 * the tables are located in pages not in posts
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803730)
 * are there any classes common to all the tables ?

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

The topic ‘Change table border’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sixteen/1.7.4/screenshot.png)
 * Sixteen
 * [Support Threads](https://wordpress.org/support/theme/sixteen/)
 * [Active Topics](https://wordpress.org/support/theme/sixteen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sixteen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sixteen/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/change-table-border/#post-4803730)
 * Status: not resolved