IE zoom:1 原理 zoom: 1? 是为了 IE 早期的浏览器,有 layout 的毛病,所以用 zoom: 1 代表这个 div 是有高度宽度的 效果跟 overflow: hidden 可以装载浮动物件一样 我们经常在调试浏览器兼容的过程中,经常会用...
分类:
其他好文 时间:
2015-09-10 19:43:49
阅读次数:
240
我们经常用伪类来清除浮动,比如这样.clearfix:after { content: ""; display: block; clear: both; height: 0;}.clearfix { *zoom: 1;}//hack IE6我们来看一下样例: ...
分类:
Web程序 时间:
2015-09-05 19:23:16
阅读次数:
220
.clearfix:after { content: " "; display: block; clear: both; height: 0;}.clearfix { zoom: 1; display: table;}转载地址:http://www.imooc.com/wenda/detail/11...
分类:
Web程序 时间:
2015-09-05 19:15:03
阅读次数:
203
各个浏览器的css hack区别属性:IE6: _zoom:1;IE6/7: *zoom:1;IE6/7/8/9 :\9各个浏览器的css hack区别规则IE6: *html{}IE7: +.class{}非IE6: html>body {}仅火狐:@-moz-docu...
分类:
Web程序 时间:
2015-09-03 06:58:29
阅读次数:
148
1、创建一个基于Fragment的地图框架
2、SupportMapFragment** 类,管理地图生命周期
3、MapFragment的使用
4、overlook:俯视角;zoom:缩放...
分类:
移动开发 时间:
2015-09-01 10:48:02
阅读次数:
216
曾几何时,display:inline-block 已经深入「大街小巷」,随处可见 「display:inline-block; *display:inline; *zoom:1; 」这样的代码。如今现代浏览器已经全面支持这个属性值了,上面的代码只是为了兼容 IE6、7 而已。那么你真的了解 inl...
分类:
其他好文 时间:
2015-08-28 17:09:01
阅读次数:
196
1在写android的Camera代码一项是获取相机硬件的参数,打印出来就一行,即使利用记事本自动换行也是密密麻麻的不好观看如下RDCameraSDK=true;capture-burst-interval-max=10;zoom=0;redeye-reduction-values=;qc-ext-...
分类:
其他好文 时间:
2015-08-19 20:14:52
阅读次数:
323
其实Zoom属性是IE浏览器的专有属性,Firefox等浏览器不支持。它可以设置或检索对象的缩放比例。除此之外,它还有其他一些小作用,比如触发ie的hasLayout属性,清除浮动、清除margin的重叠等。Zoom的使用方法:zoom : normal | numbernormal : 默认值。....
分类:
其他好文 时间:
2015-08-19 00:27:23
阅读次数:
156
原文链接:http://www.codeceo.com/article/android-zoom-image.html
ImageView有scaleType属性可以缩放图片,让图片铺满屏幕宽度,但是会出现压缩或裁剪的情况。
ImageView的scaleType的属性分别是matrix(默认)、center、centerCrop、centerInside、fitCenter、fitE...
分类:
移动开发 时间:
2015-08-18 01:19:07
阅读次数:
178
.fix{zoom:1;}.fix:after{display:block; content:''; clear:both; line-height:0; visibility:hidden;}
分类:
其他好文 时间:
2015-08-11 08:32:41
阅读次数:
122