Heim  >  Artikel  >  Web-Frontend  >  急!frameset布局加载的页面不显示_html/css_WEB-ITnose

急!frameset布局加载的页面不显示_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:14:061482Durchsuche

我有四个页面:index.htm   top_frame.htm  middle_frame.htm  bottom_frame.htm 
然后index.htm的代码如下:
nbsp;HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">



无标题文档




    
    
    



结果用浏览器打开index.htm的时候什么都没有显示,请问是什么原因呢?


回复讨论(解决方案)

加上结束标签

<frame src="top_frame.htm"></frame><frame src="middle_frame.htm"></frame> <frame src="bottom_frame.htm"></frame>

加了还是不得行呀!

"http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档 </title> </head> <frameset rows="30%,50%,20%"  border="0" framespacing="0"  frameborder="0">     <frame src="top_frame.htm"  marginWidth=0 marginHeight=0 frameBorder=no noResize >     <frame src="middle_frame.htm"  marginWidth=0 marginHeight=0 frameBorder=no noResize >     <frame src="bottom_frame.htm"  marginWidth=0 marginHeight=0 frameBorder=no noResize > </frameset> <noframes>    <body bgcolor="#FFFFFF">        <table width="100" border="4" align="left" cellpadding="10" cellspacing="2" height="100%">            <tr>                <td>                    <p align="center">                        <font color="#0000FF">浏览器功能支持限制</font></p>                    <p>                        &nbsp&nbsp&nbsp&nbsp非常抱歉,您的浏览器不支持框架模式,无法使用本模块,请使用支持框架的浏览器。</p>                    <p>                        <font color="#FF0000">*</font> <font color="#000099">建议使用 Internet Explorer 6.0 或版本更高的浏览器使用本模块。</font></p>                </td>            </tr>        </table>    </body></noframes></html> 

HTML code

"http://www.w3.org/TR/html4/loose.dtd">

无标题文档 正解

我告诉你原因啊你换个浏览器就好使了 !!有的浏览器是不支持框架的比如360

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn