框架网页在不同分辨率的显示问题??

78815 2003-11-03 03:44:16
看我的源代码:
<html>

<head>
<title>武汉</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

</head>

<frameset framespacing="0" border="false" frameborder="0" rows="78,297,*">
<frame name="top" scrolling="no" target="contents" src="top.htm" noresize >

<frameset cols="235,565">
<frame name="contents" target="main" src="left.htm" scrolling="no" noresize>
<frame name="main" src="dongtai.htm" scrolling="auto" noresize>
</frameset>

<frame name="bottom" scrolling="no" target="contents" src="under.htm" noresize>
<noframes>

<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>

</noframes>
</frameset>

</html>

800*600可以,但如是1024*768,网页就散架了,分成四个孤零零的部分,
也试过将框架放在表格中,将表格居中,但好象加不进去,
应该怎么办呢??
...全文
56 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
78815 2003-11-04
  • 打赏
  • 举报
回复
怎么加呀,iframe
blueice2002 2003-11-03
  • 打赏
  • 举报
回复
建议用iframe
如果实在要用框架的话就在框架外面加iframe
ekway 2003-11-03
  • 打赏
  • 举报
回复
楼主不试一下用iframe?
ekway 2003-11-03
  • 打赏
  • 举报
回复
<script language="javascript">
if (screen.width==1024)
{
window.location="xxx.htm"
}
else
{
window.location="xxxx.htm"
}
</script>
xuzuning 2003-11-03
  • 打赏
  • 举报
回复
可尝试在onload和onresize事件里修改浏览器窗口为800*600

87,992

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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