在網上找了相關資料後,很多人都是把“style="overflow-x:hidden" ",但我用了這種方法,還是不行,
最後把頁面上的<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
在<body>中加style="overflow-x:hidden" 就可以了,
我的架構是這樣的的
<frameset rows="60,2,*" frameborder="no" border="0" framespacing="0">
<frame src="View_Top.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frame src="View_Mid.htm" name="midFrame" scrolling="No" noresize="noresize" id="midFrame" title="midFrame" />
<frame src="View_Content.aspx" name="mainFrame" id="mainFrame" width="100%" title="mainFrame" />
</frameset>
View_Content.aspx的架構:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="View_Content.aspx.cs" Inherits="Member_Resume_View_Content" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>無標題頁</title>
</head>
<body style='overflow:scroll;overflow-x:hidden'>
<form id="form1" runat="server">
<div>
<%=rtn %>
</div>
</form>
</body>
</html>
反正用了這種方法,我的問題解決了,在此做個說明,如園中遇到同樣的問題,可以做個參考