frameset框架滚动条的处理

来源:互联网 发布:福冈软件银行鹰 编辑:程序博客网 时间:2024/03/29 03:35

无滚动条:

  <frame name="header" src="acsx/FooterIn.aspx" noResize scrolling="no">

 

 

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0" />
    <meta name="ProgId" content="FrontPage.Editor.Document" />

  
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>
<frameset cols="150,*" framespacing="0" border="0" frameborder="0"  >
  <frame name="menu" target="main" marginwidth="0" marginheight="0" scrolling="auto" noresize src="left.aspx">
  <frame name="main" marginwidth="0" marginheight="0" scrolling="auto" noresize src="main.aspx">

  <noframes>
  <body topmargin="0" leftmargin="0">

  <p>此网页使用了框架,但您的浏览器不支持框架。</p>

  </body>
  </noframes>
</frameset>
</html>

 

 

style= "overflow-x:hidden;overflow-y:auto "

 <frame   src= "main.html "   name= "mainFrame "   id= "mainFrame "   title= "mainFrame "   style= "overflow-x:hidden;overflow-y:auto ">

 

出现滚动条:

 

  <frame  name=contents src="<%=strLeftPage%>" scrolling="auto">

 


原创粉丝点击