IE10的文本框的X,可以用-ms-clear{display:none;}隐藏掉。
但是这个在兼容模式下不起作用。
有在兼容模式下把X隐藏掉的方法吗?
请尝试针对文本框添加class,如:
<input type="text" class="input" />
针对类"input"添加样式如下:
<style type='text/css'> input { display: block; margin: 5px } .input::-ms-clear { display: none; } </style>
e-mail:ist_te@hotmail.com