css frame不能显示页面源文件
以下是框架源代码:<html><head><title>论坛</title><metahttp-equiv="Content-Type"content="text/htm...
以下是框架源代码:
<html>
<head>
<title>论坛</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<frameset rows="5%,10%,70%,15%" framespacing="10" >
<frame src="论坛/daohang1.html">
<frame>
<frameset cols="20%,55%,25%" framespacing="10" >
<frame>
<frame scr="hls.png" name="a1">
<frame>
</frameset>
<frame>
</frameset>
</html>
以下是论坛/daohang1.html的代码:
<html>
<head>
<title>导航1</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
.ldaohang{
width:800px;height: 50px;border:1px solid white;padding: 3px;background-color: white;float: left;
}
.ldaohang ul li {
float:left;
list-style: none;
}
.rdaohang{
width:180px;height: 50px;border:1px solid white;padding: 3px;background-color: white;float: right;
}
.rdaohang ul li {
float:left;
list-style: none;
}
</style>
</head>
<body>
<div class="ldaohang">
<ul>
<li><a href="#">读书</a> </li>
<li><a href="#">电影</a> </li>
<li><a href="#">音乐</a> </li>
<li><a href="#">同城</a> </li>
<li><a href="#">阅读</a> </li>
<li><a href="#">搞笑</a> </li>
</ul>
</div>
<div class="rdaohang">
<ul>
<li><a href="#">提醒</a> </li>
<li><a href="#">登录</a> </li>
</ul>
<div>
</body>
</html>
然后框架页面中显示not found,查看源代码提示
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
求大神解答 展开
<html>
<head>
<title>论坛</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<frameset rows="5%,10%,70%,15%" framespacing="10" >
<frame src="论坛/daohang1.html">
<frame>
<frameset cols="20%,55%,25%" framespacing="10" >
<frame>
<frame scr="hls.png" name="a1">
<frame>
</frameset>
<frame>
</frameset>
</html>
以下是论坛/daohang1.html的代码:
<html>
<head>
<title>导航1</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
.ldaohang{
width:800px;height: 50px;border:1px solid white;padding: 3px;background-color: white;float: left;
}
.ldaohang ul li {
float:left;
list-style: none;
}
.rdaohang{
width:180px;height: 50px;border:1px solid white;padding: 3px;background-color: white;float: right;
}
.rdaohang ul li {
float:left;
list-style: none;
}
</style>
</head>
<body>
<div class="ldaohang">
<ul>
<li><a href="#">读书</a> </li>
<li><a href="#">电影</a> </li>
<li><a href="#">音乐</a> </li>
<li><a href="#">同城</a> </li>
<li><a href="#">阅读</a> </li>
<li><a href="#">搞笑</a> </li>
</ul>
</div>
<div class="rdaohang">
<ul>
<li><a href="#">提醒</a> </li>
<li><a href="#">登录</a> </li>
</ul>
<div>
</body>
</html>
然后框架页面中显示not found,查看源代码提示
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
求大神解答 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询