请教 frame 框架问题

yq_net 2006-05-30 10:05:16
代码如下:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<frameset rows=30%,*><frame src="title.htm" id="frametitle" name="title" frameborder=1>
<frameset cols=30%,*>
<frame src="left.htm" id="framelest" name="frameleft" frameborder=0>
<frame src="right.htm" id="frameright" name="frameright" frameborder=0></frameset></frameset>

</body>
</html>


为什么我打开浏览时是空的,里面什么都没有???
title.htm、 left.htm、right.htm里面我都放了东西(文字)?

怎么回事?







...全文
222 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
飘零雾雨 2006-08-20
  • 打赏
  • 举报
回复
<html>
<head>
</head>
<frameset name="fstmain" cols="20%,*" frameborder="1" framespacing="8" bordercolor="#3366cc" >
<noframes >请使用支持 frame 的浏览器或者访问以下地址来进行站点导航:
<a href="/*.htm" target="_blank">**</a>
<a href="/*.htm" target="_blank">**</a>
</noframes>
<frameset name="" rows="30%,*" framespacing="0" frameborder="0" >
<frame name="" src="/*.aspx" marginheight="0" />
<frame name="" src="/*.htm" marginheight="0" />
</frameset>
<frame name="" marginheight="0" scrolling="yes" src="/*.htm">" />
</frameset>
</html>
  • 打赏
  • 举报
回复
只有iframe用<body>...</body>标签~~
NiuniuASP 2006-08-18
  • 打赏
  • 举报
回复
<body>...</body>和<frameset >...</frameset>标签是同级的,所以不能把<frameset >...</frameset>放在<body>...</body>内部
xuanwf 2006-08-17
  • 打赏
  • 举报
回复
frame 框架结构不能用<body>..</body>标签
woneinwy 2006-05-30
  • 打赏
  • 举报
回复
body标签去掉

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧