Mozile Test 1 - Using the CSS Method

The <div> tag below has two special CSS styles: -moz-user-modify: read-write; and -moz-user-input: enabled;

Edit this text!

Here is the code:

<div style="-moz-user-modify: read-write; -moz-user-input: enabled;">
	<p>Edit this text!</p>
</div>

When CSS is used to mark tags editable it makes it fast and easy for Mozile to check whether a tag is editable. Unless there is a specific reason to use the contentEditable method, this method is the one you should use.

See mozileDocs.xml for more information.