Home » ★スタイルシートリファレンス

★スタイルシートリファレンス

ime-mode・・・テキスト入力時のIMEの状態を指定する(IE独自仕様)
Internet Explorer5Internet Explorer5.5Internet Explorer6Internet Explorer7Internet Explorer8Internet Explorer9
Firefox3Firefox4
Google Chrome1Google Chrome2Google Chrome3Google Chrome4Google Chrome5Google Chrome6
広告



ime-modeプロパティは、Internet Explorerが独自に追加した仕様で、テキスト入力時のIMEの状態を指定する際に使用します。

IMEとはInput Method
Editorの略で、日本語を入力するためのソフトのことです。
日本語入力ソフトには、Windowsの「MS-IME」やマッキントッシュの「ことえり」、ジャストシステム社の「ATOK(エイトック)」などがあります。

■値

auto
特に指定しません。
active
初期値が日本語入力モードになります。
inactive
初期値が英数字入力モードになります。
disabled
英数字入力モードになります。ユーザーの操作によるモードの変更はできません。

■使用例

HTMLソース

<form action=”cgi-bin/aaa.cgi” method=”post”>
ID<br><input type=”text” name=”mail”
size=”30″ style=”ime-mode: disabled;”><br>
名前<br><input type=”text” name=”name”
size=”40″ style=”ime-mode: active;”><br>
メール<br><input type=”text” name=”mail”
size=”40″ style=”ime-mode: inactive;”><br>
備考:<br><textarea name=”bikou” rows=”2″ cols=”40″
style=”ime-mode: auto;”>
</textarea><br>
<input type=”submit” value=”送信”><input
type=”reset” value=”リセット”>
</form>

↓↓↓

ブラウザ上の表示

ID

名前

メール

備考:


広告



Lorem Ipsum is simply dummy text

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.