Generally speaking, HTML layout is flow-based. Each element gets positioned after the one before it, either to the right of it or beneath it. There are plenty of exception
To expand on both CJGreen and Napolux's suggestions, you can still place the image in the table cell, but position it absolutely.
[Edit] Since defining the position of table cells is supposedly illegal (therefore ignored by Firefox), you can wrap the content of each CSS: JS: See the (updated) fiddle here - http://jsfiddle.net/teddyrised/qyu3g/ in a table td > div {
position: relative;
}
table td > div img {
position: absolute;
z-index: 999;
}
$(document).ready(function() {
$("td").wrapInner('');
});