2014-02-10 45 views
0

邊界半徑不工作在Android的2.3.4邊界半徑的Android 2.3.4

示例不工作:

.radius5 { 
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    -khtml-border-radius: 50%; 
    border-radius: 50%; 
} 
+1

根據[我可以使用](http://caniuse.com/#search=border-radius),Android 2.3.4應該支持'border-radius'沒有前綴。 –

+2

'Android瀏覽器2.3不支持邊境radius.' – Vucko

+0

感謝詹姆斯百分比值。但Android原生的瀏覽器不支持...... –

回答

0

1 - 使用Opera Mini的
2 - 儘量讓半徑與像素( 1像素)或EMS(1EM)

+2

這是不是真正的解決方案,你不能強迫人們使用其他瀏覽器。然而,第二種選擇是正確的。 –

0

是有這一個問題:check here, and click on known issues.

這裏是這樣說的:

1. Android Browser 2.3 does not support % value for border-radius. 

2. Border-radius does not work on fieldset elements in IE9. 

3. The stock browser on the Samsung Galaxy S4 with Android 4.2 does not support the "border-radius" shorthand property but does support the long-hand properties for each corner like "border-top-left-radius". 
1

所述問題here(此後由Armarnath Balasubramani)有效。

但是繼承人你可以做什麼快速修復! :)

 


    #circle { 
     border-radius: 9999px; /* the css3 circle */ 
    }