代码如下:
html>
<head>
    <title>幸福聊天室欢迎您</title>
    <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.1"/>
    <meta name="ProgId" content="VisualStudio.HTML"/>
    <meta name="Originator" content="Microsoft Visual Studio.NET 7.1"/>
    <[color=#FF0000]frameset[/color rows="*,120">
        <frame src="main.aspx"/>
        <frame src="send.aspx" noresize/>
    </frameset>   
</head>
</html>
问什么不支持frameset和frame呢?不支持这个我应该怎么设计页面框架呢?

解决方案 »

  1.   

    <frameset> 应该写在
    <body></body>中
    不能写在<head></head>中啊
      

  2.   

    web标准 
    Xhtml1.0 不支持 frameset frame标签,用母版页
    XHTML 1.0 规定了三种 XML 文档类型:Strict、Transitional 以及 Frameset。 
      

  3.   

    <head>
        <title></title>
    </head>
    <frameset rows="50,*" cols="*" frameborder="no" border="1" framespacing="0" id="frame1">
    <frame id="banner" name="banner" scrolling="no" noresize src="top.aspx" frameborder="0">
    <frameset rows="*" cols="200,8,*" frameborder="no" border="0" framespacing="0" id="frame2">
    <frame id="leftmenu" name="leftmenu" scrolling="auto" noresize src="index.aspx" frameborder="0">
    <frame id="table_index" name="table_index" scrolling="auto" src="default.aspx" frameborder="0">
    </frameset>
    </frameset> 
      

  4.   

    不支持没有关系,在浏览器中式可以正常运行的。你的frameset要放到body外边,你怎么放到了head里面了。
      

  5.   

    我新建了一个母版页,并将代码复制过去。怎么还是显示不支持frameset呢?需要改东西么?
      

  6.   

    显示不支持frameset关系不大,运行只要正确就可以了
      

  7.   

    不支持没有关系,在浏览器中式可以正常运行的。你的frameset要放到body外边
      

  8.   

    把这句话:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    替换为:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      

  9.   


    <!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>
      <title>幸福聊天室欢迎您</title>
      <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.1"/>
      <meta name="ProgId" content="VisualStudio.HTML"/>
      <meta name="Originator" content="Microsoft Visual Studio.NET 7.1"/>  
    </head>
    <frameset rows="*,120">
      <frame src="main.aspx"/>
      <frame src="send.aspx" noresize="noresize"/>
    </frameset>
    </html>