Kod*_*_12 0 html javascript css internet-explorer internet-explorer-11
对于以下代码,当我使用firefox时,我可以在输入字段中输入任何文本.但是,在IE11中也不一样.
<li class="gridster-form"
aria-labeledby="Gridster Layout Form"
alt="Tile Display Input column Input Row">
<span class="dropdown-text">
Col <input type="text" value='tiledata.col' ng-model="tiledata.col" size="1" class="input-col ng-pristine ng-untouched ng-valid">
Row <input type="text" value='tiledata.row' ng-model="tiledata.row" size="1" class="input-row ng-pristine ng-untouched ng-valid">
<i class= "fa fa-arrows"></i>
</span>
</li>
Run Code Online (Sandbox Code Playgroud)
我怎么能改变这个?
你有这样的结构: <a href...><input ... /></a>
这不是有效的
由于它无效,浏览器可以自由地尝试理解你的意思.Firefox正在为输入元素提供优先级,并允许您使用它们.Internet Explorer提供链接优先级,不允许您使用子输入.
浏览器都没有正确,因为没有正确的答案.