随笔分类 -  HTML+CSS

ie7下div覆盖在iframe上方,ie8就不行,怎么解决
摘要:<divstyle="position:relative;display:inline-block;width:178px;height:90px;z-index:9999;top:0;left:0;background-color:transparent;"></div><iframesrc=''id='frame'frameborder='0'scrolling='no'width='178'height='90'allowTransparenc 阅读全文

posted @ 2013-06-18 21:21 benlamk 阅读(1820) 评论(0) 推荐(0)

苹果导航设计
摘要: 阅读全文

posted @ 2013-06-05 10:02 benlamk 阅读(157) 评论(0) 推荐(0)

弹窗的滤镜背景兼容
摘要:css控制透明度倒不麻烦。filter:alpha(opacity=50); /*IE滤镜,透明度50%*/-moz-opacity:0.5; /*Firefox私有,透明度50%*/opacity:0.5;/*其他,透明度50%*/举个例子:通过ie6 ie7 ie8 ff3 opera 谷歌 safari测试#test{background-color:#0000CC;filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5;width:100px;height:100px;}但是还是会有很多问题,浏览器兼容性问题,等而且IE滤镜的频繁 阅读全文

posted @ 2013-04-23 17:33 benlamk 阅读(191) 评论(0) 推荐(0)

png格式图片背景不透明问题解决
摘要:方法一(CSS滤镜,某些时候不管用):_background: url(http://www.snowangel.cn/images/angel.png) no-repeat !important;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=noscale, src="http://www.snowangel.cn/images/angel.png");_background:none; 方法二:(引用js工具类,成功)var DD_belated 阅读全文

posted @ 2013-01-15 15:13 benlamk 阅读(3462) 评论(0) 推荐(0)

qq登陆错误提示
摘要:100000 缺少参数response_type或response_type非法。 100001 缺少参数client_id。 100002 缺少参数client_secret。 100003 http head中缺少Authorization。 100004 缺少参数grant_type或grant_type非法。 100005 缺少参数code。 100006 缺少refresh token。 100007 缺少access token。 100008 该appid不存在。 100009 client_secret(即appkey)非法。 100010 回调地址不合法。... 阅读全文

posted @ 2012-12-13 17:51 benlamk 阅读(891) 评论(0) 推荐(0)

QQ在线聊天代码
摘要:1、例如Q我请点击:特 效代码:<A href="tencent://message/?uin=331241383&amp;Site=温馨园&amp; Menu=yes"><IMG alt=有事没事都可Q我! src="http://wpa.qq.com/pa?p=1:331241383:1" border=0></A>2、例如Q我请点击:特 效代码:<A href="tencent://message/?uin=331241383&amp;Site=温馨园&amp; M 阅读全文

posted @ 2012-12-12 17:41 benlamk 阅读(8380) 评论(0) 推荐(0)

HTML:scrollLeft,scrollWidth,clientWidth,offsetWidth之完全详解(转载)
摘要:作者: 来源: http://bbs.chinaunix.net核心提示:HTML:scrollLeft,scrollWidth,clientWidth,offsetWidth 到底指的哪到哪的距离之完全详解 scrollHeight: 获取对象的滚动高度。 scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离 scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端.....HTML:scrollLeft,scrollWidth,clientWidth,offsetWidth到底指的哪到哪的距离之完全详解scrollHeight: 获取对象的滚动高 阅读全文

posted @ 2012-09-07 20:49 benlamk 阅读(206) 评论(0) 推荐(0)

导航