如何禁用IE10插入文本框中的清除按钮? [英] How can I disable the clear button that IE10 inserts into textboxes?

查看:75
本文介绍了如何禁用IE10插入文本框中的清除按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Internet Explorer 10中禁用在功能集中且内容丰富的情况下在文本框中显示一点x的新功能?

How can I disable the new functionality in Internet Explorer 10 that shows a little 'x' in a textbox when it's focused and I have content in it?

img src =https://i.stack.imgur.com/0uxtg.pngalt =IE10 Clear Button>

推荐答案

input[type=text]::-ms-clear {
    display: none;
}

这篇关于如何禁用IE10插入文本框中的清除按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆