Search code examples
htmlcssinternet-explorerwindows-8internet-explorer-10

Internet Explorer 10 Windows 8 Remove Text Input and Password Action Icons


I am testing a highly-customized web application in Internet Explorer 10 on Windows 8, since it is an up and coming release, and will likely be using my application some day. Take a look at this sample screenshot of some text input controls from the application:

enter image description here

Is there a way, either within HTML or CSS, to remove the action icons that are located to the right of the text and password input controls?

Thank you for your time.


Solution

  • You need to use the -ms-clear pseudo-element. And use -ms-reveal for the password box.

    This should do it:

      ::-ms-clear {
          display: none;
      }