Having HTML
code
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<img src="...">
</td>
</tr>
</tbody>
</table>
with CSS
styles
* {
border: none;
margin: 0;
padding: 0;
}
table {
position: absolute;
left: 50%;
top: 50%;
width: 110px;
height: 92px;
margin-left: -55px;
margin-top: -46px;
}
img {
width: 110px;
height: 92px;
}
accessible in this fiddle,
I would expect to have no margin, no padding and no border in the table content. However table height is not same as the image height. There are some extra pixels somewhere in td
element.
What is a problem here? Is it style or html code?