I'm using twitter bootstrap for some web app I'm forced to do (I'm not a web developer) and I can't find a way to disable the row lines for tables.
As you can see from the Bootstrap documentation, the default table style contains line rows.
Regards,
Bootstrap By Building Projects - Includes Bootstrap 4Use the border-top-0 class to remove the top border from an element.
Select the cells where you want to remove some borders. On the Table Design tab, click the arrow next to Borders and select the options you want.
Add .table-borderless for a table without borders.
If you need to separate rows in bootstrap, you can simply use . form-group . This adds 15px margin to the bottom of row.
Add this to your main CSS:
table td { border-top: none !important; }
Use this for newer versions of bootstrap:
.table th, .table td { border-top: none !important; }
In Bootstrap 3 I've added a table-no-border class
.table-no-border>thead>tr>th, .table-no-border>tbody>tr>th, .table-no-border>tfoot>tr>th, .table-no-border>thead>tr>td, .table-no-border>tbody>tr>td, .table-no-border>tfoot>tr>td { border-top: none; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With