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).
Solved! Go to Solution.
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;"> <tbody> <tr style="border-bottom: 1px solid black;"> <td>Lorem</td> <td>Ipsum</td> </tr> </tbody> </table>
I hope this will be of some help to you. Sing out if you have any other questions...thanks! Take care...be well.