Notice that the last cell has a left and a right border in its inline style. You (or at least I) would expect this to be visible. In IE, this is the case. But in Firefox (6), this is not. You can solve this by:
Removing position relative on div.datagrid table tbody in the CSS
Changing div.datagrid table tbody to div.datagrid table in the CSS
Removing the background-color on table.data td.priceCell in the CSS
Removing the border-collapse on div.datagrid table in the CSS
This is a simplified version of our code; we also solved it (by choosing option 2). But what I'm wondering about is:
Is this a bug in Firefox?
Is this a bug in IE?
And especially: what is the reason Firefox wouldn't show the borders when the CSS is as it is?
解决方案
This looks like a Firefox bug to me. The backgrounds are painting over the borders; you can see it if you use a translucent background color.