Adding bottom border to a table without CSS

Jump to solution
Community Champion

I'm working on a finance/accounting course, lots of tables. I want to have borders on the bottoms of the rows only (so, only have horizontal lines). But I can't change the overall subaccount CSS because rules.

Is there a way to only add bottom borders using HTML code, not CSS? I'm ok applying the code to each cell or row individually if that's what it takes (but I'd rather not).

Labels (1)
1 Solution
Community Coach
Community Coach

Hello @venitk ...

A Google search brought me to the following page: Create table with only bottom border in HTML - Stack Overflow.

I tried the following code snippet from that page in a Canvas page, and it worked as expected:

<table style="border-collapse: collapse;">
    <tr style="border-bottom: 1px solid black;">

I hope this will be of some help to you.  Sing out if you have any other questions...thanks!  Take well. 

View solution in original post