您的位置:首页 > Web前端 > CSS

网页css所有标签全部按初始化设置

2013-12-07 17:05 351 查看
/* Reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p
{color:#333333; font:12px/1.5 tahoma,arial,\5b8b\4f53; list-style:none; margin:0px; padding:0px; }

a{color:#0000CC; text-decoration:none; outline:none;}
a:hover{color:#0099FF; text-shadow:1px 1px 0px #FFFFFF; text-decoration:none;}

div{overflow:hidden;}

img{border:none; margin:0px; padding:0px;}
img,input,select,textarea,label{vertical-align:middle;}

select{height:22px; font:13px Verdana;}

h1{font-size:20px; font-weight:bold;}
h2{font-size:18px; font-weight:bold;}
h3{font-size:16px; font-weight:bold;}
h4{font-size:14px; font-weight:bold; padding:0px 10px;}
h5{font-size:12px; font-weight:bold; padding:0px 10px;}
h5 .fr{font-weight:normal;}


/* 表单样式 */
.ipCss{font-family:Verdana; height:12px; line-height:14px; padding:3px;}
.bnCss{font:12px \5b8b\4f53; height:22px; line-height:20px; padding:0px 10px; cursor:pointer;}
.taCss{line-height:20px; padding:3px;}
.fileCss{font:13px Verdana; padding:2px; cursor:pointer;}

/*
====================
Css 组合样式
====================
*/

/* 文字颜色 */
.c0{color:#000000;}
.c6{color:#666666;}
.red{color:#FF0000;}

/* 字体样式 */
.fwb{font-weight:bold;}
.fwn{font-weight:normal;}

/* 文字对齐方式 */
.tc{text-align:center;}
.tl{text-align:left;}
.tr{text-align:right;}

/* 浮动和清除浮动 */
.fl{float:left;}
.fr{float:right;}
.cf{clear:both;}

/* 行高 */
.lh24{line-height:24px;}
.lh28{line-height:28px;}
.lh32{line-height:32px;}

/* Other */
.cup{cursor:pointer;}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: