Home>Support>How do I remove the internal border from a table?

How do I remove the internal border from a table?

By Dan de Varona, 8 years ago. Last reply by Alex S, 8 years ago.

I am using the SiteOrigin editor and created a table. I can’t get the borders of the table to display the way I want them to. I want them to be collapsed. 1 pixel border around the cells and not the table. not two. I have used CSS and HTML recommendations from W3 Schools to no avail. It

My code looks like this:

Floor & Wall Characteristics

Antimicrobial
Easy to Clean

Durability
Seemless Flooring

Thermal Shock Resistance
Exceptional Durability/Longevity

Abrasion Resistance
Waterproof/Moisture Mitigation

My CSS looks like this:

td {
padding: 10px;
}
table {
border:1px solid #CCC;
border-collapse:collapse;
}
td {
border:none;
}

table {
border: 0;
}

HELP!!!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Dan,

    The last selector in your CSS is preventing the border from displaying.

    table {
    border: 0;
    }
    

    As it’s the last CSS present the previous rule will be ignored.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More