框架集固定宽而居中要怎么做?急~~~~~~

来源:百度知道 编辑:UC知道 时间:2024/06/26 05:29:19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>**</title>
</head>
<frameset rows="150,*,80" frameborder="no" border="0" framespacing="0">
<frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame"

title="topFrame" />

<frameset cols="200,*" frameborder="no" border="0" framespaci

用table将框架圈起来,加align="center",给框架设高度为100%,
就象这样:
<body style="margin: 0px auto; overflow:auto;" scroll="no">
<table cellpadding="0" cellspacing="0" border="0" width="1000" height="115" align="center">
<tr><td>
<iframe frameborder="0" id="header" name="header" src="top.html" scrolling="no" style="height: 115px; width: 1000px; margin:0px auto;"></iframe>
</td></tr></table>
<table border="0" cellPadding="0" cellSpacing="0" width="1003" align="center" style="table-layout: fixed;">
<tr>
<td width="183"><iframe frameborder="0" id="menu" name="menu" src="left.html" scrolling="yes" sty