效果不错的登录框制作

http://bbs.blueidea.com/thread-2830870-1-1.html

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html  xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta  http-equiv ="Content-Type"  content ="text/html; charset=gb2312"   />
< title ></ title >
< style >
*
{}{
padding
:0px;margin:0px;
}

body
{}{
background
:#EAEAEA;font-size:12px;
}

#test
{}{
position
:absolute;width:751px;height:246px;left:50%;top:50%;margin:-123px 0 0 -375px;background:url(http://bbs.blueidea.com/attachment.php?aid=79193&noupdate=yes);
}

#test_left
{}{
float
:left;width:459px;
}

#test_right
{}{
float
:right;width:292px; padding:51px 0px 0px 0px;
}

#test_right ul
{}{
list-style
:none;
}

#test_right ul li
{}{
background
:url(http://bbs.blueidea.com/attachment.php?aid=79195&noupdate=yes) no-repeat left center; padding:10px 0px 0px 4px; height:27px;
}

#test_right input
{}{
height
:17px;border:none;font-size:12px;
}

.test_buttom
{}{
line-height
:28px;text-align:center;
}

.test_buttom a:link, .test_buttom a:visited, .test_buttom a:active 
{}{
float
:left;display:block;width:63px;background: url(http://bbs.blueidea.com/attachment.php?aid=79194&noupdate=yes);text-decoration: none;color:#000000; margin:10px 15px 10px 15px;
}

.test_buttom a:hover 
{}{
position
:relative;left:1px;top:1px;
}

</ style >
</ head >
< body >
< div  id ="test" >
   
< div  id ="test_left" ></ div >
   
< div  id ="test_right" >
   
< ul >
   
< li >< input  name ="username"  type ="text"  id ="username"  style ="background:url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes);width:202px;"  onblur ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes)'; } else { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 135px 0px'; }"  onclick ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 135px 0px'; }"  maxlength ="10"   /></ li >
   
< li >< input  name ="password"  type ="password"  id ="password"  style ="background:url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 0px -17px;width:202px;"  onblur ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 0px -17px'; } else { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 135px -17px'; }"  onclick ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 135px -17px'; }"  maxlength ="10"   /></ li >
   
< li >< input  name ="username"  type ="text"  id ="username"  style ="background:url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 0px -34px;width:150px;"  onblur ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 0px -34px'; } else { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 70px -34px'; }"  onclick ="if (this.value == '') { this.style.background='url(http://bbs.blueidea.com/attachment.php?aid=79196&noupdate=yes) 70px -34px'; }"  maxlength ="4"   />< img  src ="http://bbs.blueidea.com/attachment.php?aid=79192&noupdate=yes"  align ="absmiddle"   /></ li >
   
</ ul >
   
< div  class ="test_buttom" >< href ="#" > 登 录 </ a >< href ="#" > 刷 新 </ a ></ div >
  
</ div >
</ div >
</ body >
</ html >

转载于:https://www.cnblogs.com/CB/archive/2008/03/31/1131195.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值