随笔分类 -  other

摘要:.gradient{ width:300px; height:150px; filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=0); -ms-filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,... 阅读全文
posted @ 2012-07-03 17:46 jia58960 阅读(518) 评论(0) 推荐(0)
摘要:做网站时经常会用到,衡量一个DIV+CSS架构师的水平时,这个也很重要。区别不同浏览器的CSS hack写法:区别IE6与FF: background:orange;*background:blue;区别IE6与IE7: background:green !important;background:blue;区别IE7与FF: background:orange; *background:green;区别FF,IE7,IE6: background:orange;*background:green !important;*background:blue;注:IE都能识别*;标准浏览器(如FF) 阅读全文
posted @ 2012-06-23 18:09 jia58960 阅读(122) 评论(0) 推荐(0)
摘要:对于div1.(IE浏览器)white-space:normal; word-break:break-all;这里前者是遵循标准。#wrap{white-space:normal; width:200px; }或者#wrap{word-break:break-all;width:200px;}eg.<div id="wrap">ddd1111111111111111111111111111111111</div>效果:可以实现换行2.(Firefox浏览器)white-space:normal; word-break:break-all;overfl 阅读全文
posted @ 2012-06-23 17:54 jia58960 阅读(254) 评论(0) 推荐(0)