Is there a way to eliminate the odd white space between two nested divs in Chrome?
<div class="bar">
<div class="progress">
</div>
</div>
.bar {
width: 200px;
height: 6px;
border: 1px solid black;
border-radius: 3px;
}
.progress {
height: 100%;
width: 50%;
background: black;
}
Check out this fiddle for reference: http://jsfiddle.net/hfob7yz4/1/.
In my experience, on Chrome it appears with an unusual margin like
this,
while on Firefox it looks normal as expected:
firefox-img
This issue seems to be screen width dependent and I've noticed it only on my laptop.
Thank you.