2012-09-13 119 views
0

我的按鈕適用於除IE以外的所有其他瀏覽器。我認爲'邊界半徑'是想爲IE工作嗎?IE css按鈕外邊框

Screenshot of button that isn't styled correctly

.simpleHelp { 
    border-top: 1px solid #ffffff; 
    background: #910330; 
    background: -webkit-gradient(linear, left top, left bottom, from(#790228), 
    to(#910330)); 
    background: -webkit-linear-gradient(top, #790228, #910330); 
    background: -moz-linear-gradient(top, #790228, #910330); 
    background: -ms-linear-gradient(top, #790228, #910330); 
    background: -o-linear-gradient(top, #790228, #910330); 
    padding: 10.5px 21px; 
    -webkit-border-radius: 40px; 
    -moz-border-radius: 40px; 
    border-radius: 40px; 
    -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; 
    -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; 
    box-shadow: rgba(0,0,0,1) 0 1px 0; 
    text-shadow: rgba(0,0,0,.4) 0 1px 0; 
    color: #ffffff; 
    font-size: 17px; 
    font-family: Georgia, Serif; 
    text-decoration: none; 
    vertical-align: middle; 
} 
+0

你也應該使用前綴'linear-gradient()'。 – Pavlo

回答