I have some HTML that inject with Javascript into a web page. The final HTML I inject looks like:
<table style="border-width: 0px; margin 0px; width:100%; height: 100%; padding:0px;"> <tbody style="border-width: 0px; margin 0px; width:100%; height: 100%; padding:0px;">
For some odd reason when I examine tbody in Firebug, its size seems to be 4px smaller than the table. How do I get the to fill up ?
Try adding:
border-collapse: collapse;
To your table
. Or try setting:
display: block;
or
display: table
on the tbody
element.
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