You are here: Reference > CSS > properties > browser specific extensions > -moz-user-input

-moz-user-input property

Browser support:
Specifies whether the element can have the input focus.
Typically used for input elements to enable or disable them. This property is the same as the user-input property in the CSS3 declaration.
Use the READONLY attribute instead.
JavaScript page for this property: MozUserInput. You can find other example(s) there.

Possible values:

 One of the following values: 
Default. Use the element's default behavior for user-input behavior.
Element is disabled and will not respond to user input.
Element can respond to user input.
Takes the value of this property from the computed style of the parent element.
The element is considered to be neither enabled nor disabled.
Default: auto.

Example HTML code 1:

This example illustrates the use of the -moz-user-input property:
        .example {
            -moz-user-input: disabled;
    <textarea class="example">The user is not able to change this text.</textarea>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content