Here is an illustration of the problem (tested in Firefox and Chrome):
<div style="background-color: red;"><svg height="100px" width="100" style="background-color: blue;"></svg></div>
Notice the extra red
space inside the div
below the blue svg
.
Already tried setting padding
and margin
of both elements to 0
, but with no luck.