2012-07-19 125 views
0

下面的小提琴边框在firefox上是弯曲的,这个css如何更新以使它的直角棱角尖锐? 我试着将CSS更新为“border:1px solid #CCC!important;”带尖角的矩形边框样式

http://jsfiddle.net/3Uz7S/

<script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/6343621.js"></script> 


.pds-box { 
    border: 1px solid #CCC !important; 
} 

回答

1

你需要重写边界半径,在你的代码都border-radius-webkit-border-radius设置为12px

.pds-box { 
    border: 1px solid #CCC !important; 
    border-radius:0 !important; 
    -webkit-border-radius:0 !important; 
}​ 
1

border-radius标记添加到CSS。

.pds-box { 
    border: 1px solid #CCC !important; 
    border-radius: 0px !important; 
}​