XML technologies / CSS / Advanced websites with CSS / CSS property reference / ime-mode

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

Chinese, Japanese and Korean contain more characters than a normal keyboard provides. Windows solves the resulting text-entry problem with the so-called Input Mode Editor (IME). When the IME is active, the user can select a desired character from a list that opens automatically for each key. When it is inactive, only normal keyboard characters can be entered.

This property, which is not documented in the CSS specification, enables or disables the IME in form fields (input or textarea).

Inherited: No

Values

active, auto, disabled or inactive.

Default value: auto

Compatibility

CSS version: not part of the CSS standard

Works only in Internet Explorer for Windows from version 5.

Example

The following rule keeps the IME disabled for input fields of the class deutsch:

input.deutsch, textarea.deutsch {
 ime-mode: inactive;
}

  

 

 

 

back to top