自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 meta http-equiv="X-UA-Compatible" content="IE=7" 的意思

 X-UA-Compatible是针对ie8新加的一个设置,对于ie8之外的浏览器是不识别的,这个区别与content="IE=7"在无论页面是否包含指令,都像是使用了 Windows Internet Explorer 7的标准模式。而content="IE=EmulateIE7"模式遵循指令。对于多数网站来说,它是首选的兼容性模式。目前IE8尚在测试版中,所以为了避免制作出的页面在IE

2009-10-14 15:36:00 608

转载 Mouse position

 At the moment I am writing an Introduction to Events. As part of my study I wanted to create a generic, simple script that detects the mouse coordinates at the time of the event. Because such a scr

2009-10-10 16:56:00 585

转载 Event properties

What is the type of the event?This is the only question with a true cross-browser answer: use the typeproperty to read out the type:  function doSomething(e) { if (!e) var e = window.event;

2009-10-10 15:18:00 343

转载 Convert selected text to link (works in FF and IE)

Text to Hyperlink Create a link Select some text and click the button. The selected text will become the named hyperlinkMy HomepageMy FavoriteMy Search PageMake it a link <!--

2009-10-10 11:39:00 304

转载 How to get selected text

<!--function getSelText(){ var txt = ; if (window.getSelection){ txt = window.getSelection(); } else if (document.getSelection){ txt = document.getSelecti

2009-10-10 11:25:00 317

转载 How To Solve Flickering Background Images

 If youre using CSS sprites as background images for links or buttons, youll notice that the image will flicker briefly in Internet Explorer 6. The reason is because IE6 doesnt properly cache the

2009-10-10 10:06:00 400

原创 jQuery queue &amp;amp; dequeue

 These methods tend to come in pairs when you’re working within the animation queue.When you use the animate and show, hide, slideUp, etc effect methods, you’re adding a job on to the fx queue.B

2009-09-14 22:49:00 309

转载 IE6 bug总结

随着IE8的问世,微软终于开始将其浏览器向标准化靠拢,而且其市场占有率已经接近于Chrome了,但由于IE6及IE7仍然占有巨大的市场份额,在此我总结一下主要关于IE6/7的bug。1. 双倍浮向Bug这个bug在IE6及更低版本的浏览器中存在。当IE6及更低版本的浏览器在解析浮动元素时,会错误地把浮向边边界(margin)加倍显示。修复这个bug的方法很简单,只需要将元素的d

2009-09-14 12:21:00 1110 1

原创 inline-block问题

display:inline-block对排版布局很有用,可以使内联元素拥有块状元素的属性,但仍旧维持内联元素的本身,IE及FireFox3都支持该属性,可惜的是FireFox2却不支持inline-block的属性。如何让FireFox2也享受到inline-block的优越性呢?我们可以利用FireFox专有的CSS属性来解决该问题,即display:-moz-inline-box,该

2009-09-14 12:20:00 288

原创 IE7 sticky hover bug

该bug只存在于IE7中。当我们在做导航菜单时,会用到CSS来控制下拉菜单的隐藏和显示,看下面的例子。 菜单一 子菜单一 子菜单二 菜单二 菜单三对于隐藏和显示二级子菜单的方

2009-09-14 12:03:00 496

转载 HTML 5 会为 Flash 和 Silverlight 送终吗?

 W3C 在 HTML 5 proposal 中为 HTML 5 赋予了这样的使命,它将弥补上一代 HTML  的不足,具体说,是实现 Flash, Silverlight, JavaFX 所能实现的功能。 HTML 5,这个 HTML 明日之星是否会改变 Web 应用的游戏规则,是否会让这些富 Web 插件成为历史,InfoWorld 的专栏作家 Paul Krill 为此撰文并

2009-09-11 11:33:00 227

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除