Title: Table borders
Last modified: August 31, 2016

---

# Table borders

 *  [royce88](https://wordpress.org/support/users/royce88/)
 * (@royce88)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/table-borders-9/)
 * I copied and pasted a large table from Excel into WordPress, and it comes over
   fine, including the links, except there are no borders showing. As a result, 
   the data is difficult to read.
 * I am not the site administrator, and therefore cannot add plug-ins to solve the
   problem. Is there some code I can add in text mode to display the borders, or
   even add color to alternate rows of the table?

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

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/table-borders-9/#post-7155466)
 * Can you find the table tag in the page editor’s text mode? You may be able to
   add styles there. For advice on styles, please post the url to the page with 
   the table.
 *  Thread Starter [royce88](https://wordpress.org/support/users/royce88/)
 * (@royce88)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/table-borders-9/#post-7155564)
 * Thank you for your reply, sorry about the delay in my getting back to you.
 * Unfortunately, the article is behind a membership paywall, and therefore I cannot
   give you an accessible link. However, here is the code that appears at the beginning
   of this very lengthy, detailed table. Subsequent rows after this header row follow
   the same pattern. I’ve tried adding in various code snippets from a variety of
   sites, but nothing causes it to display any differently. Any tips you can give
   me would be appreciated.
 *     ```
       <table width="1395">
       <tbody>
       <tr>
       <td width="101"><strong>State</strong></td>
       <td width="75"><strong>Tangible Personal Property</strong></td>
       <td width="80"><strong>Real Property</strong></td>
       <td width="83"><strong>Intangible Property</strong></td>
       <td width="350"><strong>Taxable Services</strong></td>
       <td width="570"><strong>Exemption Summaries</strong></td>
       <td width="136"><strong>Link to Exemptions Full Detail</strong></td>
       </tr>
       <tr>
       ```
   
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/table-borders-9/#post-7155565)
 * I understand that you don’t have rights to add to the site style sheets or add
   a custom css plugin.
 * It may be impractical to add in-line styles to each element. You can try adding
   a style block. Although this makes for non-valid html, it does seem to work reliably.
   So after the table, add:
 *     ```
       <style>
       td {border:1px sold #ddd}
       tr:nth-child(odd) {background-color:#fdd}
       tr:nth-child(even) {background-color:#ddf}
       </style>
       ```
   
 * You’ll need to do this with the editor in text mode. If you ever switch to visual
   mode, WP will strip the style block.

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

The topic ‘Table borders’ is closed to new replies.

## Tags

 * [Borders](https://wordpress.org/support/topic-tag/borders/)
 * [Excel](https://wordpress.org/support/topic-tag/excel/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/table-borders-9/#post-7155565)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
