Why doesn't this work in IE8?
http://jsfiddle.net/QqMjL/
table.points > tbody > tr > td {
padding:8px 0px 8px 0px;
}
table.points > tbody > tr > td:last-child > div {
border:1px solid #a5bcd0;
border-left:3px solid #a5bcd0;
border-right:0px;
padding:5px 6px 6px 10px;
background:#fcfeff;
}
<table class="points">
<tr>
<td>test</td>
<td><div>hey</div></td>
</tr>
</table>
IE8 and below doesn't support :last-child http://www.quirksmode.org/css/contents.html#t35
This seems to do what you want http://jsfiddle.net/QqMjL/3/
精彩评论