遇到一个问题生成的静太文件html什么都不显示,但看其源代码却是正常里面什么都有!这是什么原因

解决方案 »

  1.   

    请大家帮忙!静态生成的页面过程很正常,生成了html文件,但什么也不显示一个空白页,但其看源代码里面都写了进去很正常,只要不做任何修改保存源代码一下就可以显示出来!
      

  2.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>测试用标题</title>
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    }
    -->
    </style>
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .STYLE1 {
    font-size: large;
    font-weight: bold;
    }
    -->
    </style>
    </head><body>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="103">logo banner </td>
      </tr>
    </table>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="27" align="left" bgcolor="#EABA27">当前位置:首页&gt;&gt;[fsort]&gt;&gt;[ssort]</td>
      </tr>
      <tr>
        <td height="28" align="left" bgcolor="ffffcc">同级分类[ssort]</td>
      </tr>
    </table>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="580" height="82" valign="top" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">测试用标题</span></div>
          <hr width="90%" noshade="noshade"  size="1" />
        <p align="center">    更新日期:[time] 浏览次数:100 作者:[name]</p>
        <p>123</p>
        <p align="right">【<A href="javascript:doPrint()">打印</A>】【<A href="javascript:window.close()">关闭</A>】</p></td>
        <td width="180" rowspan="3" valign="top"><table width="180" height="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30" align="center" bgcolor="#eaba27">↓<strong> 站 内 搜 索</strong></td>
          </tr>
          <tr>
            <td height="30" bgcolor="#F4F0E1">&nbsp;</td>
          </tr>
          <tr>
            <td height="30" align="center" bgcolor="#eaba27">↓<strong> 热 点 文 章</strong></td>
          </tr>
          <tr>
            <td height="30" bgcolor="#F4F0E1">[top]</td>
          </tr>
          <tr>
            <td height="30" align="center" bgcolor="#eaba27"><strong> <img src="images/i8.gif" alt="" width="14" height="13" />相 关 文 章</strong></td>
          </tr>
          <tr>
            <td bgcolor="#f4f0e1">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      
      <tr>
        <td height="32" align="left" valign="middle" bgcolor="#D8D8D8"><img src="images/b8.gif" width="14" height="14" />相关评论</td>
      </tr>
      <tr>
        <td height="32" valign="top">
    <form  action="xxx.aspx" method="post"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="23%" height="30" bgcolor="#F5F5F5">您的姓名:</td>
            <td width="77%" height="30" align="left" bgcolor="#F5F5F5"><label>
              <input type="text" name="textfield"/>
            </label></td>
          </tr>
          <tr>
            <td height="70" bgcolor="#F5F5F5">评论内容:</td>
            <td height="70" align="left" bgcolor="#F5F5F5"><label>
              <textarea name="textarea" cols="50" rows="6"></textarea>
            </label></td>
          </tr>
          <tr>
            <td height="30" bgcolor="#F5F5F5">&nbsp;</td>
            <td height="30" align="left" bgcolor="#F5F5F5"><label>
              <input type="submit" name="Submit" value="提交" />
              <input type="reset" name="Submit2" value="重置" />
            </label></td>
          </tr>
        </table></form></td>
      </tr>
    </table>
    <table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td height="80" bgcolor="#EABA27">网站信息</td>
      </tr>
    </table>
    </body>
    </html>