我必须从.asp页面导航到.aspx页面。
我们使用了iframe的概念,这样页面就可以在浏览器窗口中显示了。
我的问题是,当我们从.asp导航到.aspx页面时,内容被下推了一点,我们在顶部使用concept <body MS_POSITIONING="flowlayout">,在里面我们使用form concept来填充内容。
有人能帮我把内容推到页面顶部吗?
发布于 2011-07-20 15:37:09
我自己解决了这个问题。我只是在table标记中添加了POSITION:absolute; TOP:0px;,例如:
<body MS_POSITIONING="flowlayout">
<form id="example" method="post" runat="server">
<table cellSpacing="0" style="MARGIN-TOP:0px; POSITION:absolute; TOP:0px;"cellPadding="0" width="100%" align="center" border="0">
//content
</table>
</form>
</body>网站看起来还不错。
https://stackoverflow.com/questions/6729545
复制相似问题