css局部控制

 

  <style type="text/css">
 html, body {
     font-size: 80%;
 }
 #login-form table {font-size: 120%; }

 


<body>

 <div id="login-form">
  <div id="errorInfo" style="padding: 8px 25px;"></div>
 
  <form id="xp_loginform" action="" οnsubmit="return loginSubmit()" method="post">
    <table id="gaia_table" align="center" border="0" cellpadding="1" cellspacing="0">
   <tr>
    <td colspan="2" align="center">
     <div>
      <img src="images/logo2.jpg">
     </div>
    </td>
   </tr>
   <tr>
     <td colspan="2" align="center">
     </td>
   </tr>
   <tr>
     <td nowrap="nowrap" align="right">
      <span class="gaia le lbl">登录名:</span>
     </td>
     <td>
      <input type="text" name="userName" id="userName" size="30" value="" class='gaia le lbl' />
     </td>
   </tr>
   
   <tr id="password-row" class="enabled">
     <td align="right">
      <span class="gaia le lbl"> 密码: </span>
     </td>
     <td>
      <input type="password" name="password" id="password" size="20" class="gaia le lbl" />
     </td>
   </tr>
   
   <tr>
     <td></td>
     <td align="left">
      <input type="submit" class="gaia le button" name="signIn" id="signIn" value="登录" />
     </td>
   </tr>
    </table>
  </form>
 </div>

 <script>
 function passwordEdit(){
  $('#pwdFrame')[0].src = 'passwordEdit.action';
  $('#pwdDiv').dialog('open');
 }
 function pwdReload(){
  $('#pwdFrame')[0].src = '';
  $('#pwdDiv').dialog('close');
 }
 <!--
 var xp_loginform;
 if (document.getElementById) {
   xp_loginform = document.getElementById("xp_loginform");
 } else if (window.xp_loginform) {
   xp_loginform = window.xp_loginform;
 }
 
 var gaia_userNameHasKeypress = false;
 if (xp_loginform && xp_loginform.userName) {
   xp_loginform.userName.onkeypress = function() {
     gaia_userNameHasKeypress = true;
   }
 }

 function setFocusOnName() {
  <#if message??>
   $('#errorInfo').html('${message}');
   $('#errorInfo').show();
  <#else>
   $('#errorInfo').hide();
  </#if>
  $('#errorInfo').addClass('error');
  if (xp_loginform) {
   if (xp_loginform.userName && !xp_loginform.userName.value) {
    xp_loginform.userName.focus();
   } else if (xp_loginform.password && !gaia_userNameHasKeypress) {
    xp_loginform.password.focus();
   }
  }
 }
 
 --></script>

<div class="footer">
  2011&copy; 北京宏博远达科技有限公司
</div>

<div id="loadingDiv" class="mask-msg">正在处理,请稍待。。。</div>
<div id="pwdDiv">
<iframe scrolling="auto" id='pwdFrame' name='pwdFrame' frameborder="0"  src="" style="width:100%;height:100%;"></iframe>
</div>
<div style="display:none">
 <div id="login_info_message" class="messager-body">
  <div class="messager-icon messager-info"></div>
  <div id="login_info_msg">提示</div>
  <div style="clear: both;"></div>
 </div>
 <div id="info_message" class="messager-body">
  <div class="messager-icon messager-info"></div>
  <div id="info_msg">提示</div>
  <div style="clear: both;"></div>
 </div>
 <div id="alarm_info_message" class="messager-body">
 <div class="messager-icon messager-info"></div>
 <div id="alarm_info_msg">提示</div>
 <div style="clear: both;"></div>
</div>
</div>  
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值