main2.css:
a:link {color: #333333; text-decoration: none}
a:visited {color: #000000; text-decoration: none}
a:active {color: #111111; text-decoration: none}
a:hover {color: #666666; font-weight: normal; text-decoration: none}
a.linkTop:link {color: #ffffff; text-decoration: none}
a.linkTop:visited {color: #eeeeee; text-decoration: none}
a.linkTop:active {color: #ffffff; text-decoration: none}
a.linkTop:hover {color: #ffff00; font-weight: normal; text-decoration: none}
body {color: #000000; font-size: 12px; scrollbar-base-color: #A5C0CD}
table {font-size: 12px; line-height: 19px}
td {font-size: 12px; line-height: 19px}
.tab {background-color: #000000; font-size: 12px; line-height: 19px}
.tdTop {background-color: #6AA4CB; color: #ffffff; font-size: 12px; line-height: 19px;
letter-spacing: 3pt; text-align: center}
.tdTop2 {background-color: #6AA4CB; color: #ffffff; font-size: 12px; line-height: 19px}
.td1 {background-color: #FFFFFF; font-size: 12px; line-height: 19px}
.td2 {background-color: #F2F8FB; font-size: 12px; line-height: 19px}
.td3 {background-color: #DEEBF3; border-style: solid; border-width: 1}
.tdBottom {background-color: #F0F0F0; font-size: 12px; line-height: 19px}
.tdDatetoday {background-color: #D1DDF8; font-size: 12px; line-height: 19px}
.tdDatesun {background-color: #F0F5FB; font-size: 12px; line-height: 19px}
.tdDatesome {background-color: #F6F6F6; font-size: 12px; line-height: 19px}
.tdDatenone {background-color: #FFFFFF; font-size: 12px; line-height: 19px}
.tdonmouseout {font-size: 12px; line-height: 19px; cursor: hand}
.tdonmouseover {background-color: #FFFFFF; background-image: url
('../images/mouseback.gif'); background-repeat: no-repeat; background-position: center 50%;
font-size: 12px; line-height: 19px; cursor: hand; filter:alpha(opacity=0,
finishopacity=70,style=1,startx=0,starty=0,finishx=0,finishy=18)}
.input {border-left: 1 solid #000000; border-right: 1 solid #C0C0C0; border-top: 1 solid
#000000; border-bottom: 1 solid #C0C0C0}
.textarea {border-left: 1 solid #000000; border-right: 1 solid #C0C0C0; border-top: 1 solid
#000000; border-bottom: 1 solid #C0C0C0}
.button0 {background-color: #C6DCEA; border-style: solid; border-width: 1; cursor: hand}
.button1 {background-color: #DEEBF3; border-style: solid; border-width: 1; cursor: hand}
index.asp:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="css/main2.css" type=text/css>
<title>后台管理</title>
</head>
<script language=javascript>
function CheckData()
{
if((document.loginform.LoginName.value)=="")
{
alert("请输入登录用户名。")
document.loginform.LoginName.focus();
return false;
}
if((document.loginform.LoginName.value.length)>100)
{
alert("登录用户名不能超过100个字。")
document.loginform.LoginName.focus();
return false;
}
document.loginform.submit();
}
function dbreset()
{
document.loginform.LoginName.value="";
document.loginform.pwd.value="";
return false;
}
</script>
<script language=javascript>
function OpenWindow(url,windowname)
{
//alert("55");
window.open(url,windowname,'left=100,top=50,height=250,width=600,toolbar=no,menubar=no,scrollbars=yes,maxbutton=disabled');
}
</script>
<body topmargin="0" leftmargin="0" onload="document.loginform.LoginName.focus();" bgcolor="#DFE5F2">
<p> </p>
<div align="center">
<center>
<table border="0" width="54%" height="316" cellspacing="0" cellpadding="0">
</center>
<tr>
<td width="50%" height="250">
<p align="center"><img border="0" src="data:images/i1.jpg"></td>
<center>
<td width="241" height="378">
<table border="0" width="241" cellspacing="0" cellpadding="0" height="378" background="images/i2.jpg">
<tr>
<td width="100%" height="50">
<p align="center"></td>
</tr>
<tr>
<td width="100%" height="134">
<p align="center">
<br>
<br>
</center>
<form name="loginform" method="post" action="OfficeMain.asp" target="_parent" onsubmit="return CheckData();" onkeypress='if(event.keyCode==13)return CheckData();'>
<table width="239" border=0 cellpadding=0 cellspacing=0 height="217">
<center>
<tr>
<td width="130" align=center height="37">
<p align="right"><font color="#FFFFFF" size="2">用户名:</font></td>
<td height="37" width="187">
<font color="#FFFFFF">
<input name="LoginName" size=15 maxlength=20 class="input">
</font>
</td>
</tr>
<tr>
<td width="130" align=center height="37">
<p align="right"><font color="#FFFFFF" size="2">密 码:</font></td>
<td width="187" height="37" valign="middle"> <font color="#FFFFFF">
<input name="Pwd" type="Password" size=15 maxlength=20 class="input">
</font></td>
</tr>
<tr>
<td height="120" width="130"></td>
<td height="120" width="187" valign="top">
<input type="button" value=" 登录 " class="button0" name="btmAdd" onmouseout=className="button0" onmouseover=className="button1" onclick="return CheckData();">
<br>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
摘自:http://www.seo165.com/seo_admin/index.asp