I'm using display:table; on a divelement.
On all other browsers I've tested there are no issues.
However, on Chrome 22 (latest) and Canary, the div receives 1px spacing on both left and right sides.
Any idea where the problem lays?
EDIT:margin,border,padding are all 0.
Also, any table properties are removed:
border-spacing:0;
border-collapse:collapse;
table-layout:fixed;
I had the same problem. It was caused by Micro clearfix hack. Removed the .clearfix style solved the issue.
I would also look at whitespace as a possible offender and test with font-size: 0.
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