Ordinarily, overflow: hidden; on the body tag is sufficient to prevent scrolling a web page, if for instance you're creating a drawer to hold content that will scroll separately. However, this doesn't work in iOS6. The best I've come up with so far i
Stack Overflow 排错翻译 - Closing AlertDialog.Builder in Android -Android环境中关闭AlertDialog.Builder 转自:http://www.lanqibing.com/archives/783.html 原文: In the following code, I tried to dismiss the AlertDialog box but to no avail. However, if I remove compa
今天碰到了margin-top无效的问题,解决方法也有很多一行代码就解决了 解决办法: 1.设置父元素或者自身的display:inline-block;(IE6.IE7不识别inline-block但可以触发块元素.具体方法请搜索)2.给父容器box加overflow:hidden;属性3设置父元素的border:1px aqua solid;(只要边距大于0即可)4.用父容器box的padding-top代替margin-top5.该盒子加浮动:6.给父元素或者自身设置position:ab