Quantcast
Channel: Smeagol's blog »前端技术
Browsing all 7 articles
Browse latest View live

div+css在不同浏览器中的定位

1、浮动ie6产生的双倍距离#box{ float:left; width:100px; margin:0 0 0 100px; //这种情况之下IE会产生200px的距离 display:inline;...

View Article



IE和FF的区别(亲测)

js: 1、用按钮实现页面跳转的:<INPUT TYPE=”button” value=”跳转” onClick=”javascript:location.href(‘?qs=20′)”>在ff中不行,要用window.location.href=’?qs=20′ css:...

View Article

div+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...

View Article

scriptaculous框架中的Effect.ScrollTo函数,在ie6下无效,如果ccs中有body{_height:100%}.

scriptaculous框架中的Effect.ScrollTo函数,在ie6下无效,如果ccs中有: html { _overflow:hidden; } body { _overflow:auto; _height:100%; } 以上代码在修复ie6position:fixed问题时用到。

View Article

ie6下 padding 底部的数值2倍了,上、左、右都是正常的。

这个问题很诡异,html结构如下:div.a>div.b+input.c+input.d(都能看懂的哈,不懂的可以看zencoding)。我这里a是float:right,b、c、d都是float:left。c、d是display:inline;这样就出了一个问题,在ie6下,如果a有padding:1px;,这样的话,padding-bottom就会变成原来的2倍,即2px。解决方法:给b加...

View Article


扩展DOM有什么问题(译文)

原文地址:what’s wrong with extending the DOM...

View Article

最新版phonegap 2.6.0 入门教程

因为网上找的很多教程都是老的了,所以写了这篇新的中文教程。参考依据还是官网的guide比较靠谱,地址如下http://docs.phonegap.com/en/2.6.0/guide_getting-started_index.md.html#Getting%20Started%20Guides...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images