CSS User selection

Scenario 1: Values of the CSS user-select property

This code example demonstrates the different values of the 'user-select' style and the resulting behaviors when specified on elements in a container div with 'user-select: none'.

Scenario 2: Disabling selection in a text input field

This code example demonstrates how to disable a selection in a text input element to prevent accidental copy and paste operations on sensitive data.

See also

Reference

-ms-user-select

Conceptual

Internet Explorer 10 Developer Guide: CSS Specifying selectable text

Internet Explorer Test Drive

User-Select

IEBlog

Controlling Selection with CSS User-Select