How to remove borders in tables?

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:

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

and this

table {border: none;}

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

4 Likes

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

6 Likes

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.

3 Likes

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

And it would be something like that at the end

[data-post-id="848923"] .cooked table {
    
}
5 Likes

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

1 Like

Interface. Start learning here: Beginner's guide to using Discourse Themes

3 Likes