当前位置: 代码迷 >> ASP.NET >> ifram框架中的页面如何向左和向上的距离缩为0
  详细解决方案

ifram框架中的页面如何向左和向上的距离缩为0

热度:7909   发布时间:2013-02-26 00:00:00.0
ifram框架中的页面怎么向左和向上的距离缩为0
请高手帮帮忙:
ifram框架中的页面怎么向左和向上的距离缩为0

------解决方案--------------------------------------------------------
<style type= "text/css ">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
-->
</style>
在被嵌套的页中写
------解决方案--------------------------------------------------------
可惜这不是asp.net问题。asp.net论坛最近实在是比较乱,还是到dhtm/css论坛上去问吧。
------解决方案--------------------------------------------------------
<td valign= "top ">
<iframe name= "main " src= " <%=strUrl%> " frameBorder= "no " width= "668 " scrolling= "no "
height= "990 "> </iframe>
</td>
table 的BORDER=0 CELLPADDING=0 CELLSPACING=0
然后iframe的 style= "margin:0px "