css代码

初始化代码  init.css  

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
 margin: 0;
 padding: 0;
 font-family: 'Microsoft YaHei', Arial;
}

ul,li {
 list-style: none;
}
div {
 display: block;
}
a {
 text-decoration: none;
 cursor: pointer;
}
img{
 padding:0;
 margin:0;
 border:0;
}

 

 

公共代码:common.css

     比如table  的样式 tr td的样式 都可以写在里面

 

body {
 color:#666666;
 background-color: #FFF;
 font-family: "Microsoft YaHei", Arial;
 font-size: 12px;
}
a:link,a:visited{color:#233f87; text-decoration:none;}
a:hover,a:active{color:#f00; text-decoration:none; }
h1,h2,h3,h4,h5,h6,p{ font-size:12px; font-weight:normal;}
.clearfix:after{
 content:"";	display:block; visibility:hidden;	height:0;	clear:both;	
}
.clearfix{ *zoom:1; }
/*****************************/
#tblist{
 border:1px solid #0094ff;
  width:400px;
  margin:20px auto;
  border-collapse:collapse;
}
#tblist td,#tbList th{
  border:1px solid #0094ff;
  padding:2px;
}


#header {
	width: 100%;
	height: 78px;
	background-color: #0066b5;
}
#header .header-con {
	width: 1000px;
	height: 78px;
	margin: 0 auto;
	position: relative; 
	padding:0 10px 0 10px;
	background-color: #0066b5;
}
 

.footer{
	width:100%;
	height:auto;
	background:url(http://thinkingreed.qiniudn.com/footerbj.png) repeat-x;
}
.footer .footer_content{
	width:1000px;
	background:url(http://thinkingreed.qiniudn.com/footerbj.png) repeat-x;
	margin:0 auto;
	padding:56px 10px 20px 10px;
}

 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值