ime-mode

InternetExplorer独自のプロパティで、入力モードの指定を行います。


ブラウザ

IE5 / IE5.5 / IE6

▲PageTop

書式

要素[.class名][#id名]{ ime-mode : 値; }

▲PageTop

指定できる値

初期値 意味
auto 指定しない場合と同様になります。
active 日本語入力モードになります。
inactive 英数字入力モードになります。
disabled モード変更不可の英数字入力モードになります。

▲PageTop

サンプル

ソースコード

<html>
  <head>
    <title>サンプルコード</title>
    <style type="text/css">
      #sample1 {
        ime-mode : auto;
      }
      #sample2 {
        ime-mode : active;
      }
      #sample3 {
        ime-mode : inactive;
      }
      #sample4 {
        ime-mode : disabled;
      }
    </style>
  </head>
  <body>
    <label for="sample1">ime-mode : autoのテキストボックス</label>
    <input type="text" id="sample1" size="20"><br>
    <label for="sample2">ime-mode : activeのテキストボックス</label>
    <input type="text" id="sample2" size="20"><br>
    <label for="sample3">ime-mode : inactiveのテキストボックス</label>
    <input type="text" id="sample3" size="20"><br>
    <label for="sample4">ime-mode : disabledのテキストボックス</label>
    <input type="text" id="sample4" size="20">
  </body>
</html>

表示結果




▲PageTop