![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
iteye_12650
这个作者很懒,什么都没留下…
展开
-
清除浮动三种方法 兼容IE Firefox Chrome等
[code="html"] 无标题文档 555 1此处显示新 Div 标签的内容 2此处显示新 Div 标签的内容 3此处显示新 Div 标签的内容 4此处显示新 Div 标签的内容 [/code]...原创 2010-01-20 12:11:41 · 155 阅读 · 0 评论 -
css一句话备忘
[quote]Z-index只能工作在被明确定义了absolute,fixed或relative 这三个定位属性的元素中 IE6中的总是出现在层叠顺序的顶部而不会顾及到自然层叠顺序、position属性或者是Z-index 一个解决办法是使用JavaScript临时隐藏元素,其他的办法会涉及到使用 其他需要注意的问题 避免使用负值,Firefox下有bug IE6/IE7中被定位...原创 2010-01-20 21:55:18 · 95 阅读 · 0 评论 -
网页字体组合参考
简洁 专业 [url]http://obeattie.com/[/url] [code="html"] color:#121621; font-family:'Gill Sans','Gill Sans MT',Calibri,sans-serif; font-size:13px; line-height:1.7; [/code] 中英文兼顾 清晰 大方 [url]http:...2010-01-23 15:18:56 · 98 阅读 · 0 评论 -
Css problems and tips in IE
P: height:0px or less than 12px does not work T: set line-height:0px; or other number P: IE中伪类:hover的使用及BUG T: [url]http://www.planabc.net/2007/02/15/ie_hover_bug/[/url] P: input{border:none;}...2010-11-27 20:24:54 · 60 阅读 · 0 评论 -
css3 ::selection
Summary The ::-moz-selection (::selection) pseudo-element applies to the portion of a document that has been highlighted (e.g. selected with the mouse) by the user. Examples /* draw any selec...原创 2012-01-06 18:12:30 · 87 阅读 · 0 评论 -
table-layout:fixed 解决chrome中不能设定表格固定宽度的问题
table-layout:fixed; (probably not use width:auto, should use width:100% instead.) add to table style add the style below to td for long unbreakable content like a url [code="html"] word...原创 2012-01-09 19:27:33 · 478 阅读 · 0 评论 -
豆瓣采用的背景图替换文字方法
参考豆瓣 优点,seo-friendly;与text-indent: -5000px;相比,选择图片并复制可以复制到文字 缺点,当图片未能显示时,一片空白,没有文字 期待完美的解决方案: 不用js,不用额外标签,不用img标签,背景图片采用sprite方案,图片不能显示时,要能显示文字,最好能复制粘贴成文字 不过这个完美的方案估计不存在。。。 [code="html"] 豆瓣...2011-01-02 13:42:30 · 268 阅读 · 0 评论 -
ant script for css/js compression
[code="ant"] Working... ...原创 2012-10-05 08:40:15 · 106 阅读 · 0 评论