iframe的使用问题!(50分)

  • 主题发起人 梦菲斯
  • 开始时间

梦菲斯

Unregistered / Unconfirmed
GUEST, unregistred user!
有两个网页:index.html和test.html
我想在index.html中的一个地方把test.html嵌入进来,形成一体,但为什么在front
page 中显示是正确的,但实际运行index.html却会自动转到test.html。代码如下:
index.html
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=gb2312">
<title>首页</title>
</head>
<body>
<p align=left>
<!--<DIV id=kq align=center style="VISIBILITY: hidden">-->
!--<IFRAME frameBorder=0 height=22 marginHeight=0 marginWidth=0 scrolling=no src="test.html" width=120></IFRAME>-->
<iframe name="T1" marginHeight=1 marginWidth=1 scrolling=no src="test.html" width="200" border="0" frameborder="0" >
</iframe>
<!-- </DIV>-->
</body>
</html>
 
在frontpage中和保存为html浏览效果是一样啊
 
代码正确,在我的IE中完全正常。
 
谢谢两位,问题解决了
 

Similar threads

顶部