Title: Extra characters in custom CSS table
Last modified: August 21, 2016

---

# Extra characters in custom CSS table

 *  [chriskelly623](https://wordpress.org/support/users/chriskelly623/)
 * (@chriskelly623)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/extra-characters-in-custom-css-table/)
 * Hi all,
 * I’m using version 3.5.2 of GF Directory, and have created a custom-CSS directory
   on the following page: [http://www.tespa.org/member-igns](http://tespa.org/member-igns).
   All of the names are fake, of course.
 * I copied in the following CSS code into the “Class for the <table>,
    - , or <dl>” entry when adding the directory. I’ve tried it using the attribute
      rowstyle and tablestyle.
 *     ```
       rowstyle="
       <style>
       table, th, td
       {
       border:1px solid #333333;
       text-align:center;
       vertical-align: center;
       }
       th
       {
       background-color:#111111;
       }
       tr
       {
       background-color:#222222;
       vertical-align:center;
       }
       tr:hover {
       background-color: #02A5DB;
       color: #000000;
       }
       </style>"
       ```
   
 * As you can see, there are some extra characters above the directory, namely the“”””
   > addition between the search bar and the entries themselves.
 * [http://wordpress.org/plugins/gravity-forms-addons/](http://wordpress.org/plugins/gravity-forms-addons/)

Viewing 1 replies (of 1 total)

 *  [Dylan Barlett](https://wordpress.org/support/users/dbarlett/)
 * (@dbarlett)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/extra-characters-in-custom-css-table/#post-4487609)
 * That field is meant for a class name, not CSS rules. Add the CSS to your theme(
   or use a plugin like [Simple Custom CSS](http://wordpress.org/plugins/simple-custom-css/))
   with a new class name (e.g. `my-table-class`), then set the class name. See also
   [http://css-tricks.com/complete-guide-table-element/](http://css-tricks.com/complete-guide-table-element/).

Viewing 1 replies (of 1 total)

The topic ‘Extra characters in custom CSS table’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-addons/assets/icon-256x256.jpg?rev=996787)
 * [Gravity Forms Directory](https://wordpress.org/plugins/gravity-forms-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-addons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dylan Barlett](https://wordpress.org/support/users/dbarlett/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/extra-characters-in-custom-css-table/#post-4487609)
 * Status: not resolved