3
我有一個具有兩個單元格的表格行並且該行具有懸停背景顏色我嘗試使用邊框半徑來舍入懸停背景顏色的角落,如下所示:在兩個單元格的表格行中使用邊框半徑倒圓角在單元格邊框處打開
table tbody tr#ClickableRow:hover td
{
background-color: #fbf6e7;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
cursor:pointer;
}
<tr id="ClickableRow">
<td>
<a href="http://somesite.com">Go Here</a>
<p> To find about all the interestng animals found in this tourist attractions including
zebra, giraffe etc
</p>
</td>
<td>Call us:444-444-2322</td>
</tr>
它在細胞邊界處分裂。這怎麼解決?我不能選擇行本身並應用半徑..
我有這個問題。原因是與表格中的邊框或其他元素切割單元上的圓形邊界。 –