How can I disable the clear button that IE10 inserts into textboxes?
input[type=text]::-ms-clear {
display: none;
}
Remove IE10's clear field X button on certain inputs?
Style the ::-ms-clear
pseudo-element for the box:
.someinput::-ms-clear {
display: none;
}
Remove “clear field” X button when Browser Mode : IE9 Document Mode:IE9 on certain inputs?
This only appears inside IE10+ when you emulate older modes; you can't disable it using the CSS property as it's only defined in IE10+ mode.
Dupe of
- IE 10's -ms-clear pseudo-element, and IE5 quirks mode
- Remove IE 10 Clear Button From Input Field
- http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-can-input-clear-button-be-hidden-if-ie10-is/8f55602f-1a6b-452d-8cb3-e4cc6034b138
- https://stackoverflow.com/a/15227216/126229
- How can I disable the clear button that IE10 inserts into textboxes?
Handle IE 9 & 10's clear button with Knockout binding
If you just change
valueUpdate: 'afterkeydown'
to
valueUpdate: 'input'
it hooks that event to trigger the value update. It's better overall because it also handles clipboard-based actions and text drag-drop actions.
Stop the Delete glyph ( × ) appearing in a text box in Internet Explorer
The Internet Explorer's × glyph is a CSS pseudo element that can be styled. If you want to remove it from all input text fields, try this code:
input[type=text]::-ms-clear {
display: none;
}
(Originally answered by minitech https://stackoverflow.com/a/14007839)
Related Topics
CSS Vertical Scrollbar Padding Left/Right in Ul Possible
How to Use -Webkit-Filter: Blur(); on Background-Image
Set Bootstrap Navbar Transparency on Scroll
Bootstrap 3 - 100% Height of Custom Div Inside Column
Are There Any Tools for Merging CSS
How to Have Different Colored Left and Top Borders in CSS with Straight Join
CSS Which Takes Precedence, Inline or the Class
Amp: How to Toggle a CSS Class
How to Change the Size of a Bootstrap Checkbox
CSS Transition Opacity Fade Background
Immediate Child Selector in Less
How to Set a Common Image Path for Less Files
Changing Three.Js Background to Transparent or Other Color
Apply CSS Style to Child Elements
Attribute Property Binding for Background-Image Url in Angular 2