html - 如何在 IE 中创建方形复选框?

标签 html css internet-explorer

如何在 IE 中创建方形复选框?

我使用下面的代码来确保它们在其他浏览器中是正方形的,但我还没有找到适合 IE 的好的解决方案。

input[type="radio"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox;     
-o-appearance: checkbox;      
}   

谢谢。

最佳答案

尝试将类型从单选框更改为复选框。

input[type="checkbox"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    -ms-appearance: checkbox;     
    -o-appearance: checkbox;   
} 

关于html - 如何在 IE 中创建方形复选框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19394811/

相关文章:

css - 具有绝对位置的 z 索引与 IE

html - 如何在浏览器调整大小时从重叠居中的静态 div 中修复 div?

html - "Anonymous"Youtube 播放列表

css - 响应不工作

javascript - 在页面上的所有脚本完全加载后运行 js 函数

javascript - IE 上的 Google 图表 : "Unable to set property ' data' of undefined or null reference"

javascript - top.window.location Internet Explorer 权限被拒绝错误

html - 实时数据 Angular

javascript - 使用javascript和html表单计算两点之间的距离

css - 媒体查询与 "%"的使用有何不同?