-1

Have used the below lines of code in CSS to remove the cross mark in IE10 .But the cross mark still appears.Please help me how to solve this.

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

2 Answers2

1

The css you posted works well.

Just make sure that you have included the type="text" attribute in your input element.

<input type="text" />

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

FIDDLE

Danield
  • 121,619
  • 37
  • 226
  • 255
0

Another way round could be to try this:

input[type=text]::-ms-clear {
    width:0;
    height:0;
}

http://jsfiddle.net/4rza8/1/

[1]

Community
  • 1
  • 1
Xareyo
  • 1,357
  • 1
  • 13
  • 25