日期:2014-05-19  浏览次数:20355 次

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 "