日期:2014-05-17  浏览次数:20817 次

一个左右结构网页框架问题
大家好,我在做一个左右结构网页框架,在设计过程中可以显示,但是在浏览状态下就不显示为什么啊?请大家帮忙指点指点啊。。。代码如下:三个页面,index.htm,left.htm,right.htm
index.htm代码:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>科技动态</title>
</head>

<body>

<frameset cols="22%,*" framespacing="0" border="0" frameborder="0">
<frame  src="left.htm" frameborder=no scrolling="no" name="left" ></frame>
<frame src="rigth.htm" name="main" scrolling="no" ></frame>
</frameset> 

</body>

</html>

left.htm代码如下:
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>目录框架网页</title>
</head>

<body>

<table border="1" width="200" style="border-collapse: collapse" height="334" bordercolor="#C0C0C0">
<tr>
<td><img border="0" src="图片/tu_top.gif" width="207" height="90"></td>
</tr>
<tr>
<td height="15" bgcolor="#C0C0C0"> </td>
</tr>
<tr>
<td>
<p align="center"><font face="仿宋_GB2312" size="5"><a href="rigth.htm" target="main">首页</a></font> </td>
</tr>
<tr>
<td>
<p align="center"> <font face="仿宋_GB2312" size="5"><a href="KS_李培亮.mht" target="main">科技动态</a></font></td>
</tr>
<tr>
<td>
<p align="center"><font face="仿宋_GB2312" size="5">
<a href="http://www.sgcc.com.cn" target="main">友情链接</a></font></td>
</tr>
<tr>
<td>
<p align="center"><font face="仿宋_GB2312" size="5">
<a href="mailto:ks@sohu.com">联系我们</a></font></td>
</tr>
<tr>
<td height="15" bgcolor="#C0C0C0"> </td>
</tr>
</table>

</body>

</html>

right.htm代码如下:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>右侧框架网页</title>
</head>

<body>

<table border="0" width="650%">
<tr>
<td bgcolor="#C0C0C0">
<p align="left"><font face="楷体_GB2312" size="5" color="#008080">
<marquee direction="right" bgcolor="#C0C0C0">国际电力动态</marquee></font></td>
</tr>
<tr>
<td><img border="0" src="图片/tu_1.4.jpg" width="650" height="294"></td>
</tr>
</table>

</body>

</html>

------解决方案--------------------
思路就不对了,像这样老掉牙的程序套路应该先拿一个现成的例子再根据自身情况去改
------解决方案--------------------
引用:
思路就不对了,像这样老掉牙的程序套路应该先拿一个现成的例子再根据自身情况去改

+1