Please see this Fiddle
After I upgraded to FF 16.0.2, the absolute position has problem.
Any suggestions?
Html Part
<table>
<tr>
<td>
<div>
Product 1
<span>Button</span>
</div>
</td>
<td>
<div>
Product 2
<span>Button</span>
</div>
</td>
</tr>
CSS Part
tr { height:250px; }
td {
position:relative;
width:200px;
text-align:center;
border:1px solid #999;
}
div {
position:absolute;
top:10px; bottom:10px; left:10px; right:10px; /* as padding */
}
span {
position:absolute; bottom:0; left:50px;
width:90px; height:20px;
padding: 5px 0;
background:#ccc;
}
What I want to display is this way: