I don’t know if this is the issue, but I just noticed some discrepancies between Firefox and Chrome.
Here is the relevant HTML for my table:
<div id="tablepress-1_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="tablepress-1_length"><label>Show <select name="tablepress-1_length" aria-controls="tablepress-1" class=""><option value="10">10</option><option value="20">20</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label></div>
<div id="tablepress-1_filter" class="dataTables_filter"><label>Search:<input type="search" class="" placeholder="" aria-controls="tablepress-1"></label></div>
<table id="tablepress-1" class="tablepress tablepress-id-1 dataTable no-footer dtr-inline collapsed" role="grid" aria-describedby="tablepress-1_info" style="width: 1141px;">
<thead>...</thead>
<tbody class="row-hover">...</tbody>
</table>
In Firebug:
If you highlight this code:
<div="tablepress-1_wrapper" class="dataTables_wrapper no-footer">
the css popup shows:
#tablepress-1_wrapper.dataTables_wrapper.no-footer | 1140 x 726.6
If you highlight this code:
<table id="tablepress-1" class="tablepress tablepress-id-1 dataTable no-footer dtr-inline" role="grid" aria-describedby="tablepress-1_info" style="width: 1142px;">
the css popup shows:
table#tablepress-1.tablepress.table press-id-1.dataTable.no-footer.dtr-inline |1140 x 661.6
(note: the length numbers are supposed to be different)
In Chrome Inspector:
If you highlight this code:
<div="tablepress-1_wrapper" class="dataTables_wrapper no-footer">
the css popup shows:
#tablepress-1_wrapper.dataTables_wrapper.no-footer | 1140 x 726.6
If you highlight this code:
<table id="tablepress-1" class="tablepress tablepress-id-1 dataTable no-footer dtr-inline" role="grid" aria-describedby="tablepress-1_info" style="width: 1141px;">
the css popup shows:
table#tablepress-1.tablepress.table press-id-1.dataTable.no-footer.dtr-inline |1140.8 x 661.6
There is a
In Firefox: style=”width”: 1142px yet css is displaying 1140px
In Chrome: style=”width”: 1141px yet css is displaying 1140.8px
(As an aside, Edge also shows width = 1142px.)
Don’t know this all means but there it is.