zoukankan
html css js c++ java
Frame套帧只显示纵向滚动条的实现
主要注意的是:
1、删除
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
2、用Div来控制样式
<
div
style
="overflow: auto; 100%; height: 99%;"
>
效果如图:
主框架代码:
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html
xmlns
="http://www.w3.org/1999/xhtml"
>
<
head
id
="Head1"
runat
="server"
>
<
title
>
套帧
</
title
>
</
head
>
<
frameset
cols
="350,*"
id
="myFrame"
border
="1"
frameborder
="1"
framespacing
="0"
>
<
frameset
rows
="110,*"
>
<
frame
name
="leftTop"
id
="leftTop"
src
="#"
scrolling
="no"
target
="right"
/>
<
frame
name
="leftContent"
id
="leftContent"
src
="######"
scrolling
="auto"
target
="_self"
/>
</
frameset
>
<
frameset
id
="contentFrame"
rows
="*,50"
>
<
frame
name
="rightContent"
id
="rightContent"
src
="#"
scrolling
="auto"
target
="right"
/>
<
frame
name
="rightBottom"
id
="rightBottom"
src
="#"
scrolling
="auto"
target
="_self"
/>
</
frameset
>
</
frameset
>
</
html
>
子框架代码:
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>(一定要删除些内容)
<
html
xmlns
="http://www.w3.org/1999/xhtml"
>
<
head
>
<
title
>
Untitled Page
</
title
>
</
head
>
<
body
>
//加一个Div来控制样式
<
div
style
="overflow: auto; 100%; height: 99%;"
>
<%
PrintList();
%>
<%
PrintPaging();
%>
</
div
>
</
body
>
</
html
>
查看全文
相关阅读:
Vue请求参数转换(qs的使用---对象序列化)
Vue中使用async/await解决异步请求问题
数据结构:set
数据结构:map (不是数组的map方法)
数组方法-reduce 和 ES6扩展运算符
数据分析相关
Hadoop委任和解除节点
Oozie调度Sqoop报错
Oozie调度Sqoop的两种方式
MySql数据表直接到Hive表操作
原文地址:https://www.cnblogs.com/abeen/p/1086559.html
最新文章
Leetcode 周赛#201 题解
matlab中e科学计数法
粒子群优化算法(PSO)
Anaconda激活环境出错解决方法
ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
残差
注意!sin()函数括号中变量单位要变成1,比如a->*pi/100
matlab笔记四(对向量进行数组运算、获取函数的多个输出)
matlab笔记三(创建数组函数、数组索引、数组更改)
matlab笔记二(数组的创建)
热门文章
Ajax传递特殊字符-URL编码
Js数据类型
三元运算符遇到的坑
Element-ui日期时间插件限定选择范围
Vuex状态管理(基础概念)
Vue登录权限控制-路由守卫
el-select 中 v-model 绑定的值以及如何进行回显
Element-ui中el-table(隔行换色,table复选框回显)
Vue不刷新页面---实时更新列表数据(keep-alive)
Vue请求中特殊字符转义
Copyright © 2011-2022 走看看