在页面中,采用相对宽度,即:不管在1024*768还是在800*600模式下,使页面中的元素均为100%宽度并居中显示。下面是个简单的框架:<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body>
<div align="center">
  <center>
  <table border="0" width="100%" cellspacing="1">
    <tr>
      <td width="25%">First</td>
      <td width="25%">Second</td>
      <td width="25%">Third</td>
      <td width="25%">Fourth</td>
    </tr>
    <tr>
      <td width="25%"></td>
      <td width="25%"></td>
      <td width="25%"></td>
      <td width="25%"></td>
    </tr>
    <tr>
      <td width="25%"></td>
      <td width="25%"></td>
      <td width="25%"></td>
      <td width="25%"></td>
    </tr>
  </table>
  </center>
</div>
</body>
</html>