<style>.active   {   ime-mode:active   ;FONT-FAMILY:   'MS   ゴシック'</style>   
    
  <asp:textbox   id="txtBIKOU"   runat="server"   Width="642"   Rows="5"   CssClass="active   "   TextMode="MultiLine"></asp:textbox>   
用css应该容易些

解决方案 »

  1.   

    怎么改成jsp的阿,不用标签可以发,看不懂。
      

  2.   

    <input type="text" class="active" ..............................
      

  3.   

    <style  >.active      {      ime-mode:active      ;FONT-FAMILY:      'MS      ゴシック'  </style  >       主要是这个看不懂。
      

  4.   

    <style  >.active      {      ime-mode:active      ;FONT-FAMILY:      'MS      ゴシック'  </style  >       主要是这个看不懂。
      

  5.   

    这就是 css文件的格式  至于内容 就别看了 <style> </style>写head部分就行了
    input type="text" class="active"
      

  6.   

    <style  > ime-mode:active      ;FONT-FAMILY:      'MS      ゴシック' </style  >
    就这样吗???
      

  7.   

    哦 看见了  少<style>{  }</style>
      

  8.   

    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%><html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
     
    <style type="text/css">
    <!--
    .active {
    font-family: "MS ゴシック"; 
    }
    -->
    </style>
    </head>
    <body>
       
    <form name="form1" method="post" action="">
      <table width="267" border="0" align="center" cellpadding="0" cellspacing="6">
        <caption>
        用户登陆
        </caption>
        <tr>
          <td width="65">帐号:</td>
          <td width="184">
          <input name="username" type="text" id="username" class="active">
          </td>
        </tr>
        <tr>
          <td>密码:</td>
          <td><input name="password" type="text" id="password"></td>
        </tr>
        <tr align="center">
          <td colspan="2"><input type="submit" name="Submit" value="确 定">      </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    /*那个ime-mode:active 属性好像不对*/
      

  9.   

    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%><html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
     
    <style type="text/css">
    <!--
    .active {
    font-family: "MS ゴシック"; ime-mode:active;
    }
    -->
    </style>
    </head>
    <body>
       
    <form name="form1" method="post" action="">
      <table width="267" border="0" align="center" cellpadding="0" cellspacing="6">
        <caption>
        用户登陆
        </caption>
        <tr>
          <td width="65">帐号:</td>
          <td width="184">
          <input name="username" type="text" id="username" class="active">
          </td>
        </tr>
        <tr>
          <td>密码:</td>
          <td><input name="password" type="text" id="password"></td>
        </tr>
        <tr align="center">
          <td colspan="2"><input type="submit" name="Submit" value="确 定">      </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    /*还是中文,数字,英文,全角半角都能输入的,我要只能输入日语的全角汉字*/