我做的ssh,jsp的项目,我想要个登陆界面,我不会美工,也没时间,上网找的登陆界面都是图片,下载后不懂怎么用,就想傻到在图片上把那个文本框挖掉,放自己的输入框,再加个图片,
我的要求很低,想找个后台登陆界面,页面上没有注明是哪里的后台就行,就像这个图片一样http://pic2.nipic.com/20090420/2476411_141554011_2.jpg哪位给个现成的啊,发我一个[email protected]
我的要求很低,想找个后台登陆界面,页面上没有注明是哪里的后台就行,就像这个图片一样http://pic2.nipic.com/20090420/2476411_141554011_2.jpg哪位给个现成的啊,发我一个[email protected]
body {
background-image: url(../images/login.jpg);
background-repeat: no-repeat;
background-position: center top;
text-align: center;
}
td {
font-family: "宋体";
font-size: 12px;
color: #FFFFFF;
text-decoration: none;
}
.input01 {
border: 1px solid #ef6072;
background-color: #ffe1e4;
font-family: "宋体";
font-size: 12px;
line-height: 18px;
color: #c90010;
text-decoration: none;
height: 22px;
width: 120px;
}
.input02 {
border: 1px solid #ef6072;
background-color: #ffe1e4;
font-family: "宋体";
font-size: 12px;
line-height: 18px;
color: #c90010;
text-decoration: none;
height: 24px;
}
index.jsp 页面
<%@ page language="java" import="java.util.*,yghy.user.*"
pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head> <base href="<%=basePath%>"> <title>内蒙古XXX政务综合门户网-信息报送系统</title>
<link href="css/login.css" rel="stylesheet" type="text/css"> <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<script language="JavaScript" type="text/javascript" src="js/Unit.jsp"></script>
<script language="JavaScript" type="text/javascript">
var url_ = "<%=basePath%>";
function check()
{
if (creator.first.value == "请选择部门名称" || creator.first.value == "" )
{
alert("请选择部门");
creator.first.focus();
return false;
}
if (creator.second.value == "请选择单位名称" || creator.second.value == "" )
{
alert("请选择单位");
creator.first.focus();
return false;
}
if (creator.name.value == "")
{
alert("请输入用户名");
creator.name.focus();
return false;
}
if (creator.password.value == "")
{
alert("请输入密码");
creator.password.focus();
return false;
}
if (creator.code.value == "")
{
alert("请输入验证码");
creator.code.focus();
return false;
}
var danwei = document.creator.second.options[document.creator.second.selectedIndex].text ;
creator.submit();
}
</script>
<script type="text/javascript"></script>
</head> <body leftmargin="0" topmargin="0" style="overflow-x:hidden"
onload="init()">
<table width="800" height="400" border="0" cellpadding="0"
cellspacing="0">
<form method="session" name="creator" action="login.jsp">
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td width="50" height="35">
</td>
<td valign="middle">
报送单位:
<select name="first" onChange="select()" class="input02"
style="width:180"> </select>
<select name="second" onChange="select()" class="input02"
style="width:250"></select> </td>
<td width="50">
</td>
</tr>
<tr>
<td height="35">
</td>
<td valign="middle">
用 户 名:
<input type="text" name="name" class="input01">
密 码:
<input type="password" name="password" class="input01">
验证码:
<input type="text" name="code" class="input01">
<img src="code.jsp" width="52" height="22" align="absmiddle"> <img src="images/login.gif" width="54" height="22" border="0"
align="absmiddle" onclick="return check();">
</td>
<td>
</td>
</tr>
</form> </table>
</body>
</html>
换成自己的就OK了
<img alt="" src="images/login.gif" />
<img alt="" src="./images/login.gif" />就是不显示图片,就是一个红叉,怎么回事