Title: Table Formatting
Last modified: August 20, 2016

---

# Table Formatting

 *  [mosini](https://wordpress.org/support/users/mosini/)
 * (@mosini)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/)
 * I don’t know what I’m doing wrong- but if someone could take a look at my table
   code and let me know what I’m doing wrong that would be awesome.
 * [http://www.countywidedecorah.com/services/](http://www.countywidedecorah.com/services/):
   No border or color will show up and the faint border that is there cuts out.
 * [http://www.countywidedecorah.com/plumbing/](http://www.countywidedecorah.com/plumbing/):
   faint border that I don’t want to see and it cuts out.
 * Thanks!

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727644)
 * To start with, you have two table opening tags, plus a bunch of other mark-up
   errors on the first page. I did not check the other page. See [Validating](http://codex.wordpress.org/Validating_a_Website)
   if you are unfamiliar with Validating your code. You should validate the CSS 
   code too.
 * The table color is also not coded correctly — you are missing the #.
    BTW, why
   are you using a table for that kind of content?
 *  Thread Starter [mosini](https://wordpress.org/support/users/mosini/)
 * (@mosini)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727768)
 * I was just copying what the client had on their old HTML site (their request),
   and I hadn’t validated yet.
 * But I’m just going to do it my way and not use the table.
 * Thanks.
 *  Thread Starter [mosini](https://wordpress.org/support/users/mosini/)
 * (@mosini)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727889)
 * [http://www.countywidedecorah.com/services](http://www.countywidedecorah.com/services)
 * the border cuts out at the bottom. Also is there a way to make the border transparent?
   I can’t seem to get it.
 *  [Good Guy](https://wordpress.org/support/users/mytaxsitecouk/)
 * (@mytaxsitecouk)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727890)
 * One way to control how your table is formatted is to something like this:
 *     ```
       <table style="width: 600px; border: thin transparent solid; padding: 3px;">
   
       Put your table stuff/contents here;
   
       </table>
       ```
   
 * Ideally you may want to put your styles in your style sheet so let us know if
   this is what you want to do.
 * Good luck.
 *  Thread Starter [mosini](https://wordpress.org/support/users/mosini/)
 * (@mosini)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727891)
 * Ahh–right what would be the best way to put them in the style sheet?
 *  [Good Guy](https://wordpress.org/support/users/mytaxsitecouk/)
 * (@mytaxsitecouk)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727892)
 *     ```
       table {
       	width: 600px;
       	border: thin transparent solid;
       	padding: 3px;
       }
       ```
   
 * The above code will work on all tables. If you want to target a particular table
   then you need to give an Id to the table and change the above code slightly like
   this:
 *     ```
       #mytable {
       	width: 600px;
       	border: thin transparent solid;
       	padding: 3px;
       }
       ```
   
 * this is a special table called mytable.
 * Hope this gives you a start but there are lots of things you can style but take
   one thing at a time.
 *  Thread Starter [mosini](https://wordpress.org/support/users/mosini/)
 * (@mosini)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727893)
 *     ```
       table {
       	width: 600px;
       	border: thin transparent solid;
       	padding: 3px;
       }
       ```
   
 * I did that and started my table in the HTML editor with <table> ended with </
   table>
    and nothing.
 * But it’s late- so I’m sure if I try it in the morning it will work.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727894)
 * You might want to look at the [W3C page on table styling](http://www.w3schools.com/css/css_table.asp).

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

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

 * 8 replies
 * 3 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/table-formatting-1/#post-2727894)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
