水平滑动的图片浏览器
来源:互联网 发布:淘宝页面模板在哪买 编辑:程序博客网 时间:2024/04/30 07:18
以下是较为简单的水平滑动的图片浏览器,主要用CSS来实现的
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.leng{
width:500px;
overflow:scroll;//如果图片满溢的话,就用滚动条来显示其他的内容。
margin:auto;
}
.images{
width:790px; /*关键在这里,因为将宽度设置为能够容纳所有图片的大小,滚动条才会实现水平滚动条*/
margin:auto;
}
</style>
</head>
<body>
<div class="leng">
<div class="images">
<img src="file:///G|/web/images/4.jpg" width=150px heignt=150px/>
<img src="3.jpg" width=150px heignt=150px/>
<img src="file:///G|/web/images/1.jpg" width=150px heignt=150px/>
<img src="file:///G|/web/images/18.jpg" width=150px heignt=150px/>
<img src="file:///G|/web/images/19.jpg" width=150px heignt=150px/>
</div>
</div>
</body>
</html>
0 0
- 水平滑动的图片浏览器
- ListView的水平滑动
- jquery水平滑动图片切换特效
- 实现图片水平滑动1(利用HorizontalScrollView)
- android 水平滑动的控件
- 自定义水平滑动的listview
- ANDROID图片浏览(带水平滑动的GridView和类似gallery的ViewPage)
- 解决webview加载过大的图片导致水平滑动的视觉
- 水平飞舞的图片
- Android HorizontalScrollView 水平滑动 在listview上面动态添加图片
- Android--ListView的item水平滑动效果
- Android: 水平滑动线性布局的实现
- Android ViewPapger实现滑动图片浏览器
- 实现图片的水平移动
- 图片的横向滑动
- android:使用gallery和imageSwitch制作可左右循环滑动的图片浏览器
- h5用swiper结合angularjs实现手机浏览器左右滑动切换图片的效果
- 简易图片浏览器【可缩放图片,滑动后恢复正常】
- PAT(乙) 1002.写出这个数 (20)
- 意甲官网在中国地区被假网劫持,竟声称赞助?
- Java 集合——ArrayList
- 论文阅读:Joint Learning of Single-image and Cross-image Representations for Person Re-identification
- Git使用简析
- 水平滑动的图片浏览器
- 44-关于null和equals比较的时候的问题
- hdu 3790 最短路径问题
- spring mvc项目总结
- 简单感知器实现中文词性标注
- JavaScript对象
- Python学习---第7天---偏函数
- 4. Median of Two Sorted Arrays
- 汇编语言数值显示 的子程序dtoc.asm