| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 574 人关注过本帖
标题:页面显示问题
取消只看楼主 加入收藏
lifeng2007
Rank: 1
等 级:新手上路
帖 子:18
专家分:0
注 册:2007-4-27
收藏
 问题点数:0 回复次数:0 
页面显示问题
下面的login.aspx登陆页面,不能按CSS样式表中那样正常显示,编译时没出错。但改为jsp页面的话(当然也把前面的几行都改成jsp的),可以正常显示。
在下初学,请指教好吗?
谢谢!
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.

<html xmlns="http://www. >
<head runat="server">
<title>登陆系统</title>
 <LINK rel="stylesheet" type="text/css" href="web.css">
<Script Language="JavaScript" type="text/JavaScript" src="login.js"></script>
</head>
<body>
<center><div id="headline"> <p>&nbsp;</p> <p>软068班学生档案管理系统 </p></div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <div class="logs">
            <div class="logtext">
                <form name="Login" id="Login" action="chklogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
                <ul>
                    <li>帐&nbsp;&nbsp;&nbsp;&nbsp;号:
                        <input type="text" class="input_text" name="UserName"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"
                            onkeydown="if(event.keyCode==13)event.keyCode=9"/></li>
                    <li>密&nbsp;&nbsp;&nbsp;&nbsp;码:
                        <input name="Password" type="password" class="input_text"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"  
                            onkeydown="if(event.keyCode==13)event.keyCode=9"/></li>
                    <li>验&nbsp;证&nbsp;码:
                        <input name="CheckCode" type="text" class="input_text" style="width:60px;"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"  size='4' maxlength='4' />&nbsp;
                        <img src="../inc/checkcode.asp" alt="看不清楚?请点击刷新"
                            onclick="this.src=this.src+'?'+Math.random();" style="CURSOR:hand;"></li>
                </ul>
                <div class="log_but">
                <input type="image"  name="s1" id=s1 src="img/login_botton.gif" onFocus="this.blur()">
                </div>
                
                </form>
            </div>
        </div>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.

<html xmlns="http://www. >
<head runat="server">
<title>登陆系统</title>
 <LINK rel="stylesheet" type="text/css" href="web.css">
<Script Language="JavaScript" type="text/JavaScript" src="login.js"></script>
</head>
<body>
<center><div id="headline"> <p>&nbsp;</p> <p>软068班学生档案管理系统 </p></div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <div class="logs">
            <div class="logtext">
                <form name="Login" id="Login" action="chklogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
                <ul>
                    <li>帐&nbsp;&nbsp;&nbsp;&nbsp;号:
                        <input type="text" class="input_text" name="UserName"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"
                            onkeydown="if(event.keyCode==13)event.keyCode=9"/></li>
                    <li>密&nbsp;&nbsp;&nbsp;&nbsp;码:
                        <input name="Password" type="password" class="input_text"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"  
                            onkeydown="if(event.keyCode==13)event.keyCode=9"/></li>
                    <li>验&nbsp;证&nbsp;码:
                        <input name="CheckCode" type="text" class="input_text" style="width:60px;"
                            onMouseOver="this.style.background='#E1F4EE';"
                            onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select();"  size='4' maxlength='4' />&nbsp;
                        <img src="../inc/checkcode.asp" alt="看不清楚?请点击刷新"
                            onclick="this.src=this.src+'?'+Math.random();" style="CURSOR:hand;"></li>
                </ul>
                <div class="log_but">
                <input type="image"  name="s1" id=s1 src="img/login_botton.gif" onFocus="this.blur()">
                </div>
                
                </form>
            </div>
        </div>
<div class="footer">
    Copyright<br /> &copy; 软068班 李峰<br />2008年6月
</div>
</center>
<script language="JavaScript" type="text/JavaScript">
SetFocus();
</script>
</body>
</html>
搜索更多相关主题的帖子: 页面 
2008-06-08 13:06
快速回复:页面显示问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.065546 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved