# How to remove borders in tables?

**URL:** https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569
**Category:** Support
**Created:** [November 19, 2020, 4:21am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569 "2020-11-19T04:21:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Tsui](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tsui/32/200460_2.png) [@Tsui](https://meta.discourse.org/u/Tsui)
#### Post date: [November 19, 2020, 4:21am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/1 "2020-11-19T04:21:16Z")

</div>

Hi, I’m fairly unfamiliar with markdown. I have a table with the default borders and I’m hoping to remove the top/bottom borders. How would I go about doing that? I saw this:

```plaintext
<table cellspacing="0" cellpadding="0">

```

and this

```plaintext
table {border: none;}

```

But I don’t understand how to implement them in Discourse. Thanks in advance!

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [November 19, 2020, 5:17am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/2 "2020-11-19T05:17:57Z")

</div>

Check out some CSS tips at the bottom of this post:

> [@Adding a table to your post using markdown](https://meta.discourse.org/t/create-a-table-using-markdown-on-your-discourse-forum/66544):
>
> bookmark This guide explains how to add tables to your Discourse posts using Markdown. person_raising_hand Required user level: All users Adding tables to your posts can help present data in a structured and easy-to-read format. This guide will walk you through creating tables in Markdown on Discourse, covering table basics, alignment, and special features like adding emojis and images. Using the Table Builder Discourse includes a built-in Table Builder that lets you create and edit ta…

---

<div class="post-metadata">

### Author: ![Tsui](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tsui/32/200460_2.png) [@Tsui](https://meta.discourse.org/u/Tsui)
#### Post date: [November 19, 2020, 6:33am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/3 "2020-11-19T06:33:33Z")

</div>

Thank you so much! I actually checked that out, but (forgive me, I’m really new at this) I don’t understand how to make CSS changes. I do have admin privileges, but any changes I make need to affect just a specific table and not the entirety of the site.

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [November 19, 2020, 2:19pm UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/5 "2020-11-19T14:19:08Z")

</div>

If it’s just for one specific post, you can use the data-post-id to edit the css only for this one.

If I inspect your post, I can find the data-post-id, data-topic-id and data-user-id

![image](https://global.discourse-cdn.com/meta/original/3X/2/0/2006b3c59b96f8269c60e02d7fc204645f8e7547.png)

And it would be something like that at the end

```plaintext
[data-post-id="848923"] .cooked table {
    
}

```

---

<div class="post-metadata">

### Author: ![amundo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amundo/32/177576_2.png) [@amundo](https://meta.discourse.org/u/amundo)
#### Post date: [April 15, 2021, 1:31am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/6 "2021-04-15T01:31:51Z")

</div>

> [@Steven](#):
>
> If it’s just for one specific post, you can use the data-post-id to edit the css only for this one.

Can CSS like this be edited through the interface, or does one have to go “into the files”, as it were?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [April 15, 2021, 6:01am UTC](https://meta.discourse.org/t/how-to-remove-borders-in-tables/170569/7 "2021-04-15T06:01:56Z")

</div>

Interface. Start learning here: [Beginner's guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)
