This is an archived page. It's not actively maintained.


This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-ime-align CSS property is a Microsoft extension aligning the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active. The extension is implemented in Microsoft Edge and Internet Explorer 11.

IME candidate lists are positioned on the screen with sufficient size to allow basic text input. In some cases, the IME may enforce a reasonable minimum size.

In the case of -ms-ime-align: after, an IME might adjust the candidate window and keyboard input behavior to provide a better user experience, such as using a horizontal candidate list and allowing some keys to be sent to the app for suggestion list navigation.

Initial valueauto
Applies toall elements
Computed valueas specified
Animation typediscrete


/* Keyword values */
-ms-ime-align: auto;
-ms-ime-align: after;


Initial value. The IME may align the candidate window in any manner.
The IME should attempt to align the candidate window below the element (in left-to-right and right-to-left layouts).

Formal syntax

  auto | after


Not part of any specification.