<div style="border-width:2px; border-style:solid; border-color:red;">111</div>
一定要border的样式,宽度,颜色都要设置才可以的!!
也可以这样写:
<div style="border:2px solid red;">111</div>
转载于:https://www.cnblogs.com/seasons1987/archive/2013/04/17/3025478.html
<div style="border-width:2px; border-style:solid; border-color:red;">111</div>
一定要border的样式,宽度,颜色都要设置才可以的!!
也可以这样写:
<div style="border:2px solid red;">111</div>
转载于:https://www.cnblogs.com/seasons1987/archive/2013/04/17/3025478.html