代码如下:
text-align:justify;
text-justify:inter-ideograph;
代码如下:
.clear{clear:both;line-height:0;height:0;font-size:0;}
代码如下:
.clearfix:after{content: ".";display: block;height: 0;clear: both;visibility: hidden;}
代码如下:
word-break : keep-all
代码如下:
word-break:keep-all;word-break:break-all;word-wrap:break-word
代码如下:
line-height:24px;/*使用固定宽度的容器并且需要一行垂直居中时,使用 line-height 即可(高度与父层容器一致),更多的垂直居中总结可以看这里。
*/
代码如下:
#main {overflow:hidden;}
代码如下:
a {white-space:nowrap;}
代码如下:
html {overflow:-moz-scrollbars-vertical;}
代码如下:
body, html {min-height:101%;}或者margin:0 auto;
代码如下:
textarea {overflow:auto;}
代码如下:
h2 {page-break-before:always;}/*设置打印网页时的分页*/
代码如下:
a,area { blr:expression(this.OnFocus=this.blur()) }
:focus { -moz-outline-style: none; }
代码如下:
* {margin: 0; padding: 0}/*此属性慎用,虽然能消除默认属性,但是对浏览器渲染有影响,而且在语义化表达上也欠佳。*/
代码如下:
img{vertical-align:top;}
代码如下:
filter:alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5;
cursor:hand;
代码如下:
cursor:hand;