2

On all my inputs on my site, the IE 10 Clear button is getting in the way when I try to have a Kendo Numeric Textbox in the input.

I have looked it up here, and every single question says this is what I should do in my CSS:

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

However, the Clear button is still there in IE 10 after I do this. I have tried adding !important to the display: none;, and it still shows up.

I noticed in my CSS that is being uploaded to the site that the ::-ms-clear that I am putting into the CSS file is not showing up at all, and I know that it is there (I put it at the end of the file).

Can anyone please tell me what I am doing wrong? There seems to be no help if this method doesn't work...

EDIT: Sorry, I should have mentioned this before. I'm using Wordpress, so I have no idea where the code for X-UA-Compatible would go to make this work.

EricLaw
  • 56,563
  • 7
  • 151
  • 196
snowfi6916
  • 697
  • 4
  • 9
  • 21
  • Your question is unclear. You're saying: *"My CSS does not contain the directive `::-ms-clear` which is in my CSS file."* You need to better explain exactly what you're seeing (e.g. where *specifically* are you looking?) – EricLaw Sep 06 '13 at 03:07
  • Sorry. I noticed when I set the document mode to be "Standards", the `::-ms-clear` DOES show up. However, I have a blank white screen. – snowfi6916 Sep 06 '13 at 12:21
  • FWIW, this is basically a dupe of http://stackoverflow.com/questions/17196845/ie-10s-ms-clear-pseudo-element-and-ie5-quirks-mode – EricLaw Sep 06 '13 at 15:42

1 Answers1

3

You must have selected browser/document mode other then IE10/Standard in F12 tools

Evgeny
  • 6,261
  • 8
  • 35
  • 43
  • I have the browser mode set to IE10, and the document mode set to IE8 standards, which it says is the default. – snowfi6916 Sep 05 '13 at 18:23
  • Okay different problem. I set the document mode to be Standards, but when I do that I get nothing visible on my page. I just get a white blank screen. Any thoughts? – snowfi6916 Sep 05 '13 at 19:32
  • 1
    Upload this page somewhere so that other people can take a look – Evgeny Sep 05 '13 at 23:02
  • "IE8 Standards" is NOT the default document mode. You must be overriding it with an X-UA-Compatible declaration. – EricLaw Sep 06 '13 at 03:05