Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Tags
bootstrap, jquery, lines, table, table-borderless, web programming

 
Thread Tools Search this Thread
# 1  
Old 3 Weeks Ago
Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:

Code:
<script>
$(function(){
  $('tr, td, fieldset, table').addClass('table-borderless').css({"border":"0"});
});
</script>

Problem solved.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
CDE, annoying file manager window. How to get rid of that wolfgang Solaris 3 09-20-2017 12:55 PM
I want query output to send on mail using table tag and output should be in table ankit.mca.aaidu Shell Programming and Scripting 21 02-14-2015 10:32 AM
Truncate table $TABLE -- SQLPLUS IB_88 Shell Programming and Scripting 2 04-24-2014 09:14 AM
Export table and restart from last table family_guy Shell Programming and Scripting 7 03-26-2014 01:53 PM
awk to convert table-by-row to matrix table yifangt Shell Programming and Scripting 7 01-03-2014 01:40 PM
Help in copying table structure to another table with constraints in Oracle senkerth UNIX and Linux Applications 1 11-26-2013 12:31 PM
Divide number of lines by the size of the same file. And create relational table. PainMaker101 Shell Programming and Scripting 7 09-29-2013 12:17 AM
Single table or split the table before4 UNIX and Linux Applications 3 02-12-2013 05:12 PM
Build a table from a list by comparing existing table entries dchavan1901 Shell Programming and Scripting 3 12-22-2012 10:37 AM
Shell script for adding a table in mysql with 10,000 lines ... pls help vinumahalingam Shell Programming and Scripting 3 06-05-2012 11:05 AM
Creating a condensed table from a pre-existing table in putty Deedee393 UNIX for Dummies Questions & Answers 5 05-15-2012 05:01 PM
create table via stored procedure (passing the table name to it) rethink UNIX and Linux Applications 6 07-25-2010 07:22 PM
select values from db1 table and insert into table of DB2 aemunathan Shell Programming and Scripting 2 02-10-2010 11:35 PM
Check the record count in table (table in oracle) kamineni Shell Programming and Scripting 1 12-29-2008 06:32 AM
Check the record count in table (table in oracle) kamineni Shell Programming and Scripting 1 12-15-2008 08:31 AM