我在设置 div 边框时遇到问题,它使用border-radius.htc.
它适用于除IE.
我将此网站div称为圆角http://dimox.net/cross-browser-border-radius-rounded-corners/
我的 HTML 将是,
<div id="div1">
<input type="text" id="txtBox" />
</div>
CSS将是,
#div1 {
width: 200px;
height: 30px;
background-color: #D1C9CC;
border-style: solid;
border-width: thin;
border-color: red;
-webkit-border-radius : 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(jquery/border-radius.htc);
-webkit-border-radius: 10px;
}
#txtBox {
width: 180px;
height: 20px;
background-color: transparent;
position: relative;
top: 5px;
left: 10px;
border-style: none;
}
textbox我需要在. border_ 我该如何修改?redIE
好的答案绝对值得赞赏。
