全局样式

html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img, div,span,table,th,tr,td,button { margin:0; padding:0; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
ul, ol { list-style:none; }
a:link , a:visited{color:#444;text-decoration:none;}
a:hover{color:#990000;text-decoration:underline;}
img{border:0;}
/***边框折叠问题**/
table{border-collapse:collapse;border-spacing: 0;}
.hide {display: none;}
/***清除浮动**/
.floatfix:after{content:"";display:table;clear:both;}
/***超出长度显示省略号. 还需要设置width**/
.ellipsis {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}

推荐阅读更多精彩内容