急救!在线等!frame问题

sundna 2005-04-07 04:37:43
有一个主页面,代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
</head>
<frameset rows="*, 0">
<frame name="main" src="index.htm" frameborder=0 scrolling=auto>
<frame name="clickz" src="11.html" height="0" frameborder=0 scrolling=no>
</frameset>
</html>


为什么
<frame name="clickz" src="11.html" height="0" frameborder=0 scrolling=no>
总会有1px高呢?能不能将其变为0

好让
<frame name="main" src="index.htm" frameborder=0 scrolling=auto>
在IE打开时满屏显示
...全文
126 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
sundna 2005-04-08
  • 打赏
  • 举报
回复
嗯,已经解决了,<FRAMESET border=0 frameSpacing=0 rows="*,0" frameBorder=no>
myvicy 2005-04-07
  • 打赏
  • 举报
回复
完全满足你的要求。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
</head>
<FRAMESET border=0 frameSpacing=0 rows="*,0" frameBorder=no>
<frame name="main" src="index.htm" frameborder=0 scrolling=auto>
<frame name="clickz" src="11.html" height="0" frameborder=0 scrolling=no>
</frameset>
</html>

当让你用iframe也是可以的。
richwong 2005-04-07
  • 打赏
  • 举报
回复
楼上说得对。^_^
baiyunfei 2005-04-07
  • 打赏
  • 举报
回复
不要使用frameset ,你使用iframe不就可以了吗?
在index.htm里面

<iframe name="iframe1" frameborder=0 height=0 width=0 src="11.html">
zhangqingqi82 2005-04-07
  • 打赏
  • 举报
回复
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
</head>
<frameset rows="*, 0">
<frame name="main" src="index.htm" s frameborder=0 scrolling=auto>
<frame name="clickz" src="11.html" style="display:none " height="0" frameborder=0 scrolling=no>
</frameset>
</html>
sundna 2005-04-07
  • 打赏
  • 举报
回复
下面是统计代码,有没办法解决
lawyu 2005-04-07
  • 打赏
  • 举报
回复
全屏显示你还要frame干什么?

61,129

社区成员

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

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