zoukankan      html  css  js  c++  java
  • frameset框架滚动条的处理

    无滚动条:

      <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">


  • 相关阅读:
    day06 tar命令使用,vim简单操作以及linux开机过程
    day05 创建用户过程、文件夹,文件等权限修改等
    简单算法
    day04
    day03
    Vim常用快捷键
    day02
    ssh注解开发
    spring07 JDBC
    spring06Aop
  • 原文地址:https://www.cnblogs.com/lizhao/p/1990441.html
Copyright © 2011-2022 走看看