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
>
查看全文
相关阅读:
php configure help
ubuntu下编译安装PHP
【转】Ubuntu编译安装mysql源码
Java 处理异常 9 个最佳实践,你知道几个?
HashMap工作原理
LinkedList
SpringMVC常用注解@Controller,@Service,@repository,@Component
HTML5 APP应用实现图片上传及拍照上传功能
bootstrap-datepicker 与bootstrapValidator同时使用时,选择日期后,无法正常触发校验
js
原文地址:https://www.cnblogs.com/abeen/p/1086559.html
最新文章
[SPDK/NVMe存储技术分析]014
[SPDK/NVMe存储技术分析]013
[SPDK/NVMe存储技术分析]012
[SPDK/NVMe存储技术分析]011
[SPDK/NVMe存储技术分析]010
[SPDK/NVMe存储技术分析]009
[SPDK/NVMe存储技术分析]008
[SPDK/NVMe存储技术分析]007
[SPDK/NVMe存储技术分析]006
从git上拉取python flask项目后,需要做的准备或者设置
热门文章
PyCharm 单元测试
c# autofac构造函数中lazy延迟加载实例
net core3.1版本在mvc、webapi和控制台程序中使用autofac
ueditor使用代码高亮的方法
Mysql创建表时报错Table doesn't exist解决办法
IE10访问Apache2.4卡死的问题
windows10和ubuntu16.04双系统下时间不对的问题
基于MRG_MyISAM引擎的Mysql分表
【转】Windows10下80端口被PID为4的System占用导致Apache无法启动的分析与解决方案
【转】如何编译安装PHP扩展
Copyright © 2011-2022 走看看