码迷,mamicode.com
首页 >  
搜索关键字:vertical overflow    ( 5759个结果
CSS实现垂直居中
一、单行内容的居中只考虑单行是最简单的,无论是否给容器固定高度,只要给容器设置line-height和height,并使两值相等,再加上over-flow: hidden就可以了.middle-demo-1{height: 4em;line-height: 4em;overflow: hidden;...
分类:Web程序   时间:2014-07-16 23:10:39    阅读次数:254
Android KeyStore Stack Buffer Overflow (CVE-2014-3100)
/* 本文章由 莫灰灰 编写,转载请注明出处。   作者:莫灰灰    邮箱: minzhenfei@163.com */ 1. KeyStore Service 在Android中,/system/bin/keystore进程提供了一个安全存储的服务。在过去的版本中,其他程序主要用过UNIX socket的守护进程/dev/socket/keystore去访问这个服务。然而...
分类:移动开发   时间:2014-06-27 23:25:30    阅读次数:476
android学习---下拉刷新组建
Google官方的下拉刷新组建activity代码实现:/** * The SwipeRefreshLayout should be used whenever the user * can refresh the contents of a view via a vertical swipe g....
分类:移动开发   时间:2014-06-27 21:47:09    阅读次数:324
[leetcode] Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:其他好文   时间:2014-06-27 12:20:47    阅读次数:245
背景透明而字不透明
关于我们| .footer{ position:relative; overflow:hidden;}.ft{ height:75px; background:#ff...
分类:其他好文   时间:2014-06-26 23:57:53    阅读次数:281
CSS3实现jquery的特效和图片集锦
1、实现放大缩略图(CSS3)通过使用overflow:visible效果仅见:http://runjs.cn/detail/exwrb9rn2.同上的效果效果仅见:http://runjs.cn/detail/dbitgkfz3.css3使得鼠标移入图片,其他图片模糊效果仅见:http://run...
分类:Web程序   时间:2014-06-26 20:56:13    阅读次数:199
div滚动条
overflow:visible|auto|hidden|scrolloverflow-x:横向滚动条overflow-y:纵向滚动条(2)水平滚动条 如果只想出现水平的滚动条,一般还要配合禁止换行的设置,例如:2.滚动条颜色属性: face-color:滑块颜色 hightlight-colo.....
分类:其他好文   时间:2014-06-25 15:42:55    阅读次数:203
证明tmult_ok的正确性
csapp page124. practice problem 2.35/* Determine whether arguments can be multiplied without overflow */int tmult_ok(int x, int y){ int p = x*y; ...
分类:其他好文   时间:2014-06-25 12:47:24    阅读次数:230
div自动撑开(或者自适应)
是一个块级元素。这意味着它的内容自动地开始一个新行。实际上,换行是 固有的唯一格式表现(摘自W3C school)。在编写页面的时候(这里是指jsp),有遇到div标签不能随着内部的内容扩充本身大小的情况,借助div标签的height和overflow属性,可以完美解决问题。情况一:布局的时...
分类:其他好文   时间:2014-06-25 11:59:40    阅读次数:21825
如何实现底部工具栏的位置在屏幕底部
一个垂直方向的LinearLayout,包含两个View。下面一个View(工具栏)固定在屏幕底部,上面的View占据剩余的屏幕空间。<LinearLayoutandroid:orientation="vertical"android:id="@+id/vertical_layout"android:layout_width="match_parent"android:layout_height="match_paren..
分类:其他好文   时间:2014-06-24 16:57:06    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!