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


  • 相关阅读:
    Jinja2模板引擎简介
    单元测试
    Blueprint属性
    状态保持中的cookie
    异常捕获abort方法
    数据库迁移
    Flask-SQLAlchemy中 ORM 一对多的模型关系定义步骤
    request请求的常用属性
    搜索引擎
    Mark
  • 原文地址:https://www.cnblogs.com/lizhao/p/1990441.html
Copyright © 2011-2022 走看看