初学网页设计,用框架做了一个简单的网页(-----------------------------好吧,其实是老师布置的作业)
先上几张效果图:
先附上框架页的代码
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<frameset rows="115px,*" frameboder="no" border="0">
<frame src="top.html" frameborder="no" scrolling="no" noresize />
<frameset cols="395px, *">
<frame src="left.html" scrolling="no" noresize />
<frame src="right.html" scrolling="auto" name="right" noresize />
</frameset>
</frameset>
<noframes></noframes>
<body>
</body>
</html>
然后是左边框架的代码
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>导航页</title>
<link href="css/left.css" rel="stylesheet" type="text/css" />
<base target="right" />
</head>
<body topmargin="0" rightmargin="0">
<center>
<div class="divDao" align="right">
<table border="0" >
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="about.html">学院概况</a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="leader.html">领导班子</a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="office.html">机构设置</a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="teacher.html">师资力量</a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</center>
</body>
</html>
其他的代码 ,请在这里下载。