Revision 48514 of user-select

  • Revision slug: CSS/user-select
  • Revision title: user-select
  • Revision id: 48514
  • Created:
  • Creator: reivax
  • Is current revision? No
  • Comment no wording changes

Revision Content

Used to indicate whether the text of the element can be selected. This doesn't have any effect on content loaded as chrome, except in textboxes. A similar property 'user-select' has been proposed for CSS3.

  • none: The text of the element and sub-elements cannot be selected.
  • text: The text can be selected by the user. use the same layout as the other CSS reference pages
  • -moz-none: The text of the element and sub-elements cannot be selected, but selection can be enabled on sub-elements using -moz-user-select: text

 

Revision Source

<p>Used to indicate whether the text of the element can be selected. This doesn't have any effect on content loaded as chrome, except in textboxes. A similar property 'user-select' has been proposed for CSS3.</p>
<ul> <li>none: The text of the element and sub-elements cannot be selected.</li> <li>text: The text can be selected by the user. <span class="comment">use the same layout as the other CSS reference pages</span></li> <li>-moz-none: The text of the element and sub-elements cannot be selected, but selection can be enabled on sub-elements using -moz-user-select: text</li>
</ul>
<p> </p>
Revert to this revision