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.

In Microsoft Edge and Internet Explorer 11, the -ms-ime-align CSS property aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active.

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

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.


The -ms-ime-align is specified as one of the following keyword values.


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).


This property is not part of any specification.

Document Tags and Contributors

 Contributors to this page: mfluehr, erikadoyle
 Last updated by: mfluehr,