Help! I'm trying to troubleshoot some HTML issues and can't figure out where this pesky 1px gap between my table and the wrapping div is coming from...
- Just for reference, I am using Bootstrap.
I suspect that it could be a glitch in the Bootstrap engine causing this annoyance.
Check out these screenshots (with zoomed area) and corresponding CSS. Please note that the gap is specifically between <table class="table">
and <div class="panel-body">
, not within the table itself.
(I've added a red border to highlight the white 1px gap)
Below are the computed styles for both the wrapping div "panel-body" and the table. Since Bootstrap is responsive, the sizes are dynamically calculated.