![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web2.0
ccyingfu
这个作者很懒,什么都没留下…
展开
-
Eric Meyer’s CSS 清零代码
[code="css"] html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, ...原创 2010-06-28 11:49:36 · 83 阅读 · 0 评论 -
超长英文自动换行_多浏览器支持
Opera不支持 [code="html"] .linebr { clear: both; /* 清除左右浮动 */ width: 100px; /* 必须定义宽度 */ word-break: break-word; /* 文本行的任意字内断开 */ word-wrap: break-word; /* IE */ white-...原创 2010-06-29 20:18:57 · 93 阅读 · 0 评论 -
IE6/IE7/IE8/Firefox/Chrome/Safari的CSS hack兼容一览表
不同的浏览器对CSS的解释都有一点出入,特别是padding, line-height这些要细微控制的地方,下面的hack基本可以解决这个问题: • 在属性前加下划线(_),那么此属性只会被IE6解释 • 在属性前加星号(*),此属性只会被IE7解释 • 在属性值后面加"\9",表示此属性只会被IE8解释 各浏览器CSS hack兼容表: ...原创 2011-06-26 17:53:41 · 117 阅读 · 0 评论 -
ie6下支持min,max属性
.index{min-width:1005px;_width:expression((document.documentElement.clientWidth||document.body.clientWidth)原创 2011-06-26 17:56:35 · 90 阅读 · 0 评论 -
Css三角形
css三角形 .tipArrow { /*右边有颜色,其他透明*/ border-color: transparent #e00 transparent transparent; ...原创 2011-06-26 17:58:36 · 80 阅读 · 0 评论 -
液态三栏布局
[code="html"] 三栏 body { margin: 0px; padding: 0px; } div#header { clear: both; height: 50px; background-color: aqua; padding: 1px; } div#left { float...原创 2011-06-26 18:06:23 · 125 阅读 · 0 评论 -
两栏布局
[code="html"] 两栏 body{ margin:0px; padding:0px;} #left{ float:left;width:100%;margin-left:-200px;background:#f1f1f1;} #wrapper{ margin-left:200px;} #right{float:right;width:200px;backgr...原创 2011-06-26 18:13:29 · 80 阅读 · 0 评论