http://jsfiddle.net/L83y3/
HTML
<table>
<tr>
<td>stuff</td>
<td class="right">more stuff</td>
</tr>
</table>
CSS
table
{
border:10px solid green;
}
td
{
padding:20px;
background-color:gray;
}
.right
{
position:relative;
}
has a solid uninterrupted green border for Chrome 13, Safari 5, IE7
but results in this for IE9, IE8, FF5, FF4, FF3.6
How can I get a solid border all the way around, but still have position:relative
in the right cell?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…