鍍金池/ 問答/HTML5  HTML/ ie11不支持\9

ie11不支持\9

<div>

    <input type="radio" name=""><span>單元框</span>
    <input type="checkbox" name=""><span>復(fù)選框    </span>    
</div>

div{font-size:12px;}

    
    input{vertical-align: text-bottom;margin-bottom:2px;margin-bottom:-2px\9;}

我要實現(xiàn)文字與單復(fù)選框?qū)R,但是在ie11下是不支持9的,為什么?
謝謝回答

回答
編輯回答
伐木累

9是ie9以下的hack

2017年7月7日 00:26
編輯回答
司令

IE11也就是Edge。而且Edge跟IE是有區(qū)別的,等于不同的瀏覽器。而且Edge不向下兼容。
所以呢,你可以用0,這種針對Edge的hack形式

2018年3月5日 20:56