asp网站框架问题?index.asp top.asp left.asp end.asp

来源:百度知道 编辑:UC知道 时间:2024/05/26 03:55:23
现在我分别做好了top.asp left.asp end.asp这几个页面文件,为了使整个网站格式一至,我要在index.asp包含上面的那三个asp文件,index.asp中的代码应该怎么写?

页面的宽度设为800,left.asp宽度为200,另外的600是加入其它想加入的内容.

<!--#include file="top.asp"-->
<table border="0" width="800" height="自己设定高度值">
<tr>
<td width="200"><!--#include file="left.asp"--></td>
<td width="600">自己加内容</td>
</tr>
</table>
<!--#include file="end.asp"-->

<!--#include file="路径/asp文件名"-->

<!--#include file="/所在文件夹名称/top.asp "-->
<!--#include file="/所在文件夹名称/left.asp "-->
<!--#include file="/所在文件夹名称/end.asp "-->
用表格来定好你的 长度

index.asp代码如下:
<table width=800 border="0" cellpadding="0" cellspacing="0" style="table-layout: fixed; word-break: break-all">
<tr>
<td colspan=2><!--#include file="top.asp" --></td>
</tr>
<tr>
<td wi