<div>
<input type="radio" name=""><span>单元框</span>
<input type="checkbox" name=""><span>复选框 </span>
</div>
div{font-size:12px;}
input{vertical-align: text-bottom;margin-bottom:2px;margin-bottom:-2px\9;}
我要实现文字与单复选框对齐,但是在ie11下是不支持9的,为什么?
谢谢回答
IE11也就是Edge。而且Edge跟IE是有区别的,等于不同的浏览器。而且Edge不向下兼容。
所以呢,你可以用0,这种针对Edge的hack形式