再发问一次,关于iframe的
上次我问过一次了,但没有得到很好的解决方法,这是原贴的地址
http://community.csdn.net/Expert/topic/3468/3468929.xml?temp=.8886377
最近小弟做了个网站,大部分人可以正常浏览,可有小部分人却没办法浏览
我是用框架做的(iframe标签)
请大家看看下面两张图,告诉我为什么会这样,请大家帮我解决一下
正常浏览:http://www.yyfc.com/module/right.jpg
错误浏览:http://www.yyfc.com/module/ldmsapp.jpg
在错误图里面,他出现的是左边的背景图!左边和右边是在同一个表格里,左边是菜单,
右边是一个iframe,请大家帮忙看看!
再附上代码
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="193" height="126" align="right" valign="bottom" background="images/membercenter_05.gif"><table width="85%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><span class="style2">个人管理导航栏</span></td>
</tr>
</table></td>
<td height="665" rowspan="3"><table width="100%" height="665" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="665">
<iframe scrolling="no" width="100%" height="665" frameborder="0" name="rightframe" src="intro.asp"></iframe> '这就是放框架的地方
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="193" align="center" background="images/membercenter_07.jpg"><table width="70%" border="0" cellspacing="0" cellpadding="0">
'下面这些就是菜单栏了
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/home.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="intro.asp" target="rightframe">会员中心</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/info.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="modinfo1.asp" target="rightframe">个人信息修改</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/password.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="modinfo.asp" target="rightframe">常用信息</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/help.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="record.asp" target="rightframe">教你录歌</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/song.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="songmanage.asp" target="rightframe">歌曲管理</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/upload.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="http://up.yyfc.com/upload1.asp?userid=<%=Session("userid")%>&nickname=<%=Session("nickname")%>" target="rightframe">上传歌曲</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/album.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="albummanage.asp" target="rightframe">相册管理</a></td>
</tr>
<tr>
<td height="27" align="center"><img src="images/membercenter/accup.gif" width="20" height="20"></td>
<td height="27"> </td>
<td height="27"><a href="accompanyup.asp" target="rightframe">上传伴奏</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/special.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="specialmanage.asp" target="rightframe">专辑管理</a>
<%else%>
<span class="style1">专辑管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/fans.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="club.asp" target="rightframe">歌迷团管理</a>
<%else%>
<span class="style1">歌迷团管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/flash.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="flashmanage.asp" target="rightframe">上传Flash</a>
<%else%>
<span class="style1">上传Flash</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/message.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="readmessage.asp" target="rightframe" >短消息管理</a>
<%else%>
<span class="style1">短消息管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="36" align="center"><img src="images/membercenter/guestbook.gif" width="20" height="20"></td>
<td width="5" height="36"> </td>
<td height="36"><a href="guestbookmanage.asp" target="rightframe">回复留言</a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="193" height="178"><img src="images/membercenter_09.jpg" width="193" height="178"></td>
</tr>
</table>
如果是代码有问题,请详细说一下
http://community.csdn.net/Expert/topic/3468/3468929.xml?temp=.8886377
最近小弟做了个网站,大部分人可以正常浏览,可有小部分人却没办法浏览
我是用框架做的(iframe标签)
请大家看看下面两张图,告诉我为什么会这样,请大家帮我解决一下
正常浏览:http://www.yyfc.com/module/right.jpg
错误浏览:http://www.yyfc.com/module/ldmsapp.jpg
在错误图里面,他出现的是左边的背景图!左边和右边是在同一个表格里,左边是菜单,
右边是一个iframe,请大家帮忙看看!
再附上代码
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="193" height="126" align="right" valign="bottom" background="images/membercenter_05.gif"><table width="85%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><span class="style2">个人管理导航栏</span></td>
</tr>
</table></td>
<td height="665" rowspan="3"><table width="100%" height="665" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="665">
<iframe scrolling="no" width="100%" height="665" frameborder="0" name="rightframe" src="intro.asp"></iframe> '这就是放框架的地方
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="193" align="center" background="images/membercenter_07.jpg"><table width="70%" border="0" cellspacing="0" cellpadding="0">
'下面这些就是菜单栏了
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/home.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="intro.asp" target="rightframe">会员中心</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/info.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="modinfo1.asp" target="rightframe">个人信息修改</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/password.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="modinfo.asp" target="rightframe">常用信息</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/help.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="record.asp" target="rightframe">教你录歌</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/song.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="songmanage.asp" target="rightframe">歌曲管理</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/upload.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="http://up.yyfc.com/upload1.asp?userid=<%=Session("userid")%>&nickname=<%=Session("nickname")%>" target="rightframe">上传歌曲</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/album.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27"><a href="albummanage.asp" target="rightframe">相册管理</a></td>
</tr>
<tr>
<td height="27" align="center"><img src="images/membercenter/accup.gif" width="20" height="20"></td>
<td height="27"> </td>
<td height="27"><a href="accompanyup.asp" target="rightframe">上传伴奏</a></td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/special.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="specialmanage.asp" target="rightframe">专辑管理</a>
<%else%>
<span class="style1">专辑管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/fans.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="club.asp" target="rightframe">歌迷团管理</a>
<%else%>
<span class="style1">歌迷团管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/flash.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="flashmanage.asp" target="rightframe">上传Flash</a>
<%else%>
<span class="style1">上传Flash</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="27" align="center"><img src="images/membercenter/message.gif" width="20" height="20"></td>
<td width="5" height="27"> </td>
<td height="27">
<%if Session("memberclass")="签约歌手" then%>
<a href="readmessage.asp" target="rightframe" >短消息管理</a>
<%else%>
<span class="style1">短消息管理</span>
<%end if%>
</td>
</tr>
<tr>
<td width="30" height="36" align="center"><img src="images/membercenter/guestbook.gif" width="20" height="20"></td>
<td width="5" height="36"> </td>
<td height="36"><a href="guestbookmanage.asp" target="rightframe">回复留言</a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="193" height="178"><img src="images/membercenter_09.jpg" width="193" height="178"></td>
</tr>
</table>
如果是代码有问题,请详细说一下
...全文
相关推荐
easyui iframe 页面重复加载的问题
解决使用tab布局过程中页面多次加载的问题 如果在使用easyui过程中,你使用了easyui 的tab布局,在tab布局的内容上使用的不是content,而是iframe,那么你的页面有可能多次加载了,这篇文章帮你解决问题
Iframe+Cookie实现简单的单点登录
演示DEMO 博文链接:https://xiaoa7.iteye.com/blog/312295
HTML阻止iframe跳转页面并使用iframe在页面内嵌微信网页版的实现方法
就想弄一个winform结合html5的一个小东西,突有心血来潮,想在里面嵌套一个微信网页版,下面小编给大家介绍下HTML阻止iframe跳转页面并使用iframe在页面内嵌微信网页版的实现方法,一起看看吧
嵌入到HTML的iframe自动适应大小
让嵌入到HTML的iframe自动适应大小
IFrame简单例子
IFrame


