http://www.w3.org/TR/html4/loose.dtd 影响滚动条解决方法
来源:互联网 发布:韩国网络摄像头ip破解 编辑:程序博客网 时间:2024/05/21 21:40
最近做一个项目中JSP 默认 doctype 是 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
在这标准下我把页面画的很漂亮,可是接下来 出现一个问题,我不需要滚动条,在<body style="height: 100%; margin: 0px; overflow-x:hidden;overflow-y:hidden;">加入样式,还是出现滚动条,查找发现 必须去掉http://www.w3.org/TR/html4/loose.dtd 这标准,但是去掉其他样式会出现错位 很丑.
其实这里我们使用 了 frameset 中间肯定使用frame 引入一个页面,加上scrolling="no" 就不会出现这样问题了。
- http://www.w3.org/TR/html4/loose.dtd 影响滚动条解决方法
- 页面声明:"http://www.w3.org/TR/html4/loose.dtd"影响到样式的调用
- 页面声明:"http://www.w3.org/TR/html4/loose.dtd"影响到样式的调用
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose
- 页面声明:"http://www.w3.org/TR/html4/loose.dtd"影响到样式的调用
- 都是"http://www.w3.org/TR/html4/loose.dtd"惹的祸
- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 的相关问题
- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 相关问
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/
- http://www.w3.org/TR/REC-CSS2/
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-str
- 01.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xh
- IE10 div居中不起作用之-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR
- http://www.w3.org/TR/webaudio/#AudioBuffer-section
- 常用导航栏的奥秘1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1
- Android Intent Action 大全
- 在 Windows 上安装和使用 GNUstep 和 Objective-C
- 如何在linux上添加新硬盘
- Iphone开发(十三)用导航控制器实现视图的分层切换(UINavigationController)
- Database类编译报错问题解决方案
- http://www.w3.org/TR/html4/loose.dtd 影响滚动条解决方法
- C#winform treeView checkbox全选反选
- webService的概述
- Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed.
- android开发之Dialog
- 判断SD卡是否已经挂载
- What is serialVersionUID?
- Iphone开发(十四)深入理解scrollView的contentOffset等属性,实现下拉刷新功能
- Oracle11g x64使用Oracle SQL Developer报错:Unable to find a Java Virtual Machine