Maybe someone here can shine some light. Problem initially started with an animate({top}) on a div.cell that works on everything but Firefox but shortly after I realized that css 'top' is not respected in Firefox within cells.
Margin-top also won't work because you can only add padding within a div.table->cell.
Any ideas on how to animate without using padding-top (this might be outside of standards for div.cells and maybe the only one abiding by it is Firefox)?
Check out the jsfiddle I created on Chrome vs Firefox. It even works on Internet Exploder and Safari.
http://jsfiddle.net/tinymonkey1/yd94g/5/
HTML
<div class="table">
<div class="row">
<div class="cell" style="top:20px">
Column 1
</div>
<div class="cell">
Column 2
</div>
</div>
</div>
<div class="spacer"></div>
<div class="demo">
But this works !
</div>
</div>
CSS
.table{display:table}
.table .row {display:table-row}
.table .row .cell {display:table-cell;position:relative}
.spacer{height:100px;width:100%}
.demo{}
JQuery
$('.table .row .cell').mouseenter(function(){
$(this).animate({top:'20px'},300);
});
$('.demo').mouseenter(function(){
$(this).animate({'marginTop':'20px'},300);
});