Title: How do I remove the borders from a table?
Author: Tobias Bäthge
Published: December 2, 2012
Last modified: March 27, 2025

---

Back to: [Frequently Asked Questions](https://tablepress.org/faq/?output_format=md)•
[Documentation](https://tablepress.org/documentation/?output_format=md)

# How do I remove the borders from a table?

This can be done with the some CSS code that just needs to be added to the “Custom
CSS” textarea on the “Plugin Options” screen of TablePress:

    ```language-css
    .tablepress-id-N,
    .tablepress-id-N tr,
    .tablepress-id-N td,
    .tablepress-id-N th {
    	border: none;
    }Code language: CSS (css)
    ```

In this code, the `N` needs to be changed to the ID of the table in question (or
use `.tablepress` as the first part of the selector (five times) to remove the border
from all TablePress tables on your site).

If you are still seeing border lines in your table after adding this code, it might
be necessary to raise the priority of this command above the commands from e.g. 
your theme. For that, please change the line with the CSS property to

    ```language-css
    border: none !important;Code language: CSS (css)
    ```
