Styling with bootstrap 4

Styling with bootstrap 4

mikeosoftmikeosoft Posts: 40Questions: 14Answers: 2

Hi,
Here is attached a screenshot of my table using Bootstrap 4.
Why is it so bulky? The cells have so much padding in them, and thoses grid lines are not what I want.
This table doesn't look like the one in the bootstrap 4 example page.

I use these files :
bootstrap 4.1.0 css
dataTables.bootstrap4.min.css
jquery.dataTables-1.10.16.min.js
dataTables.bootstrap4.min.js

The table have these classes :

<

table class="table display no-footer table-striped table-bordered" id="table1">

And I use this js code :
$(document).ready(function() {
var table = $('#table1').DataTable();

        ...
    });

Thanks
Michael

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.