整理下自己写前台页面时用到的全局样式

@charset "utf-8";
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td { margin:0; padding:0; }
body { font-size:12px; color:#000; font-family:Verdana, Microsoft YaHei, Simsun; background:#fff; line-height:24px; }
fieldset, img { border:0; }
ol, ul { list-style:none; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
em { font-style:normal; }
input, button, select, textarea { outline:none; }
textarea { resize:none; } /*禁用了文本的拖拉,尤其在谷歌下*/
p{ text-align:justify; text-justify:distribute;} /*为了使文本段落左右两边对齐*/

a { color: #000; text-decoration:none; cursor:pointer; }
a:hover { color: #f60; text-decoration:none; }

/* 常用样式----------------------------------------*/
.left {float:left;}
.right {float:right;}
.clear {clear:both;}
.small {font-size:.625em;}
.large {font-size:1em;}
.soft {color:#D3D3D3;}
.hide {display:none;}
p.last {margin-bottom:0px;}
.container {width:100%;margin:0 auto;}
.jz{width:980px; margin:0 auto;}

/*调试用颜色*/
.b{background-color:blue;}
.y{background-color:yellow;}

你可能感兴趣的:(html/css)