标签:
/*强制不换行*/ white-space:nowrap; /*自动换行*/ word-wrap: break-word; word-break: normal; /*强制英文单词断行*/ word-break:break-all;
text-align:justify;text-justify:inter-ideogra
input,button,select,textarea{ outline:none;}
textarea{ font-size:13px; resize:none;}
注:去掉chrome记住密码后自动填充表单的黄色背景
.fixed-top /* position fixed Top */{position:fixed;bottom:auto;top:0; }
* html .fixed-top /* IE6 position fixed Top */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}
*html{background-image:url(about:blank);background-attachment:fixed;}
.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}
.clearfix{display:inline-block;}
html[xmlns] .clearfix{display:block;}
* html .clearfix{height:1%;}
.clearfix{*zoom: 1;}
.clearfix:after{clear:both;display:table;content:"”;}
.clearfix{overflow:hidden;_zoom:1;}
.tab{border-collapse:separate;border:1px solid #e0e0e0;}
.tab th,.tab td{padding:3px;font-size:12px;background:#f5f9fb;border:1px solid;border-color:#fff #deedf6 #deedf6 #fff;}
.tab th{background:#edf4f0;}
.tab tr.even td{background:#fff;}
<table class="tab" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>111</th>
<td>222</td>
</tr>
<tr>
<th>111</th>
<td>222</td>
</tr>
</table>
.minheight500{
min-height:500px;
height:auto !important;
height:500px;
overflow:visible;
}
cursor:not-allowed;
font-family:"Hiragino Sans GB","Hiragino Sans GB W3",‘微软雅黑‘;
.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}标签:
原文地址:http://www.cnblogs.com/jifengdehao/p/5586960.html