随笔- 473
文章- 6
评论- 337
阅读-
387万
07 2009 档案
display:inline-block的深入理解
摘要:转自:淘宝 怿飞在使用 CSS 实现表现的时候,会经常接触到 display:inline-block 这一属性,无论是初接触 Web 标准还是接触标准已久的朋友,大都会对这一属性感觉很迷惑和模糊。display:inline-block将对象呈递为内联对象,但是对象的内容作为块对象呈递。旁边的内联对象会被呈递在同一行内,允许空格。但对于这个属性不是所有浏览器都识别。支持的浏览器有:Opera、S...
阅读全文
转自码头:IE8的css hack
摘要:首先感谢“丸子”提供的这个IE8的css hack;关注过IE8的css hack的人相信大家都在使用这个hack,就是“\9”的css hack:.test{color:#000000; /* FF,OP支持 */color:#0000FF\9; /* 所有IE浏览器(ie6+)支持 ;但是IE8不能识别“*”和“...
阅读全文
Writing Efficient CSS for use in the Mozilla UI
摘要:The following document outlines rules for optimizing CSS files for use in the Mozilla UI. The first section is a general discussion of how the Mozilla style system categorizes rules. With an understan...
阅读全文