1
edit
Changes
no edit summary
== Summary ==
'''-moz-user-select''' is a Mozilla property extension to CSS that is used to determine whether or not an element may have its content selected.
'''Media:''' interactive
Possible uses include: prohibiting the selection of content in attempts to reduce blatant copying.
== Syntax ==
<pre>
<!-- TARGET_ELEMENT{-moz-user-modify: inherit;}
TARGET_ELEMENT{-moz-user-modify: read-only;}
TARGET_ELEMENT{-moz-user-modify: read-write;}
TARGET_ELEMENT{-moz-user-modify: write-only;} -->
</pre>
== Legal Values ==
<table border="1">
<tr><th>Value</th><th>Description</th></tr>
<tr><td>inherit</td><td>Inherit the value from the parent element.</td></tr>
<tr><td>none</td><td>None of the content may be selected.</td></tr>
<tr><td>text</td><td>Only the text within the element may be selected.</td></tr>
<tr><td>element</td><td>A single element may be selected (from many).</td></tr>
<tr><td>elements</td><td>Multiple elements may be selected.</td></tr>
<tr><td>all</td><td>The contents must either be selected in entirety or none at all.</td></tr>
<tr><td>toggle</td><td></td></tr>
<tr><td>tri-state</td><td></td></tr>
<tr><td>-moz-all</td><td></td></tr>
</table>
== Usage Examples ==
== Notes ==
This property is similar to the [http://www.w3.org/TR/1999/WD-css3-userint-19990916#user-select user-select] property of CSS3.
== Specification Conformance ==
Doesn't conform to CSS standards; [http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions A Mozilla CSS Extension].
== Browser Compatibility ==
Netscape 6+
<br>Mozilla 0.6+
<br>Firefox 1.0+
== See Also ==
[[CSS_GUIDE_-MOZ-USER-FOCUS|-moz-user-focus]]
<br>[[CSS_GUIDE_-MOZ-USER-INPUT|-moz-user-input]]
<br>[[CSS_GUIDE_-MOZ-USER-modify|-moz-user-modify]]
== References ==
[http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions Mozilla Developer Centre - CSS Reference - Mozilla Extensions] (developer.mozilla.org)
<br>[http://www.blooberry.com/indexdot/css/properties/extensions/nsextensions.htm Netscape CSS Extensions] (blooberry.com)
<br>[http://www.w3.org/TR/1999/WD-css3-userint-19990916#user-select User Interface for CSS3] (w3.org)
'''-moz-user-select''' is a Mozilla property extension to CSS that is used to determine whether or not an element may have its content selected.
'''Media:''' interactive
Possible uses include: prohibiting the selection of content in attempts to reduce blatant copying.
== Syntax ==
<pre>
<!-- TARGET_ELEMENT{-moz-user-modify: inherit;}
TARGET_ELEMENT{-moz-user-modify: read-only;}
TARGET_ELEMENT{-moz-user-modify: read-write;}
TARGET_ELEMENT{-moz-user-modify: write-only;} -->
</pre>
== Legal Values ==
<table border="1">
<tr><th>Value</th><th>Description</th></tr>
<tr><td>inherit</td><td>Inherit the value from the parent element.</td></tr>
<tr><td>none</td><td>None of the content may be selected.</td></tr>
<tr><td>text</td><td>Only the text within the element may be selected.</td></tr>
<tr><td>element</td><td>A single element may be selected (from many).</td></tr>
<tr><td>elements</td><td>Multiple elements may be selected.</td></tr>
<tr><td>all</td><td>The contents must either be selected in entirety or none at all.</td></tr>
<tr><td>toggle</td><td></td></tr>
<tr><td>tri-state</td><td></td></tr>
<tr><td>-moz-all</td><td></td></tr>
</table>
== Usage Examples ==
== Notes ==
This property is similar to the [http://www.w3.org/TR/1999/WD-css3-userint-19990916#user-select user-select] property of CSS3.
== Specification Conformance ==
Doesn't conform to CSS standards; [http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions A Mozilla CSS Extension].
== Browser Compatibility ==
Netscape 6+
<br>Mozilla 0.6+
<br>Firefox 1.0+
== See Also ==
[[CSS_GUIDE_-MOZ-USER-FOCUS|-moz-user-focus]]
<br>[[CSS_GUIDE_-MOZ-USER-INPUT|-moz-user-input]]
<br>[[CSS_GUIDE_-MOZ-USER-modify|-moz-user-modify]]
== References ==
[http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions Mozilla Developer Centre - CSS Reference - Mozilla Extensions] (developer.mozilla.org)
<br>[http://www.blooberry.com/indexdot/css/properties/extensions/nsextensions.htm Netscape CSS Extensions] (blooberry.com)
<br>[http://www.w3.org/TR/1999/WD-css3-userint-19990916#user-select User Interface for CSS3] (w3.org)