我需要IE8和所有主流瀏覽器的弧形邊框CSS。目前我正在嘗試使用CSS PIEIE8的弧形邊框CSS
jsfiddle演示是here。但我會建議回答者從here下載PIE.htc文件,並嘗試將HTML作爲獨立頁面在IE8中獲得真正的效果。
我的問題是<td>
包含「感謝您註冊」文本是不是彎曲在jsfiddle中的IE8。如果我將它作爲HTML頁面運行,它在IE8中彎曲,但藍色背景與「謝謝註冊」<td>
(但其背景爲「#f2f2f2」)重疊。
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin:0px; padding:0px;">
<tr>
<td> </td>
<td style="width: 60%; text-align: center;background: #0067C8;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td colspan="3" style="height: 50px; background-color: #262626; width:100%; text-align: left;">
<img src="twitter_logo.png" width="200" height="50" alt"Twitter" />
</td>
</tr>
<tr>
<td colspan="3" style="height: 25px;"> </td>
</tr>
<tr>
<td style="width:3%;"> </td>
<td style="width: 94%; background-color: #f2f2f2; height: 400px; font-family: arial; font-size: 30px; color: #2DB8ED; text-align: center; border: 2px solid #bcbcbc;text-align: center;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px; behavior: url(PIE.htc);">
Thank you for registering
</td>
<td style="width:3%;"> </td>
</tr>
<tr>
<td colspan="3" style="height: 25px;"> </td>
</tr>
</table>
</td>
<td> </td>
</tr>
</table>
你搖滾@Exor!找到了 ! '位置:相對; z-index:0;'在外部(有背景顏色)做了訣竅! – tusar 2012-04-10 07:42:17