Is anyone else noticing that the HTML5 element figure
seems to introduce some margin or padding when an image is placed inside it? When a border is added around the figure, there appears to be a slight padding within the element.
<figure>
<img src="image" alt="" />
</figure>
To reset all margins and paddings using CSS, I used the following code: * { margin: 0; padding: 0 }
Does anyone have any tips on how to address this issue? Feel free to check out this fiddle for reference: http://jsfiddle.net/74Q98/