DIV+CSS样式编写公共样式标准

 

/* -----------------------------------------------
Title: Onccc Style
Author: Huangbh
Modified: 2008.06
--------------------------------------------------- */


/* global-公共样式 */
body{font-size:12px; font-family:"宋体", arial;line-height:180%;margin:0;padding:0;color:#333; background: url(../images/onccc_bodybg.jpg) repeat-x;}
form,p {margin:0px;padding:0px;}
ul{list-style-type:none;margin:0;padding:0;}
img {border:0px;vertical-align:bottom;}
.img_bord {border:1px solid #ccc;}
.wrap{word-break:break-all;}
.clr{ clear:both !important;}
.left {float:left;}
.fontfamily {font-family:arial;}
.center {text-align:center;}
.right {float:right;}
.centeris {margin-left:auto;margin-right:auto;}
.line_middle {vertical-align:sub  ;}
.text_indent {text-indent: 25px;}
.moreright {float:right;padding-right:8px;}
.flotleft {float:left;padding-left:8px;}
.middle {padding-top:10px;padding-bottom:10px;}
.margintopbottom {margin-top:10px;margin-bottom:10px;}
.marginbottom {margin-bottom:5px;}
.listtimeright {float:right;padding-right:15px;}
a:link{color: #333;text-decoration: none;}
a:visited{color: #333;text-decoration: none;}
a:hover{color: #d34718;text-decoration: underline;}
#frame {width:1002px;margin-left:auto;margin-right:auto;height:auto;}

 

/* font -字体样式 */
.font12px {font-size:12px;}
.font14px {font-size:14px;}
.font13px {font-size:13px;}
.font16px {font-size:16px;}
.font18px {font-size:18px;}
.fontbold {font-weight:700;}
.font400 {font-weight:400;}

 

/* font -字体色彩样式 */
.fontf00 {color:#f00;}
.fontred {color:#ff2a00;}

 

/* line-heihgt -文本行间距 */
.lineheight180 {line-height:180%}
.lineheight200 {line-height:200%}
.lineheight220 {line-height:220%}
.lineheight270 {line-height:260% !important;line-height:260%;}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值