网站CSS标准模版 CSS标准

2/22/2011 9:57:25 PM

html{color:#000;background:#000; }
body
{
    font-family:\5B8B\4F53,Arial Narrow,arial,serif;
    font-size:12px;
    height:100%;
}
a{text-decoration:none;}
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;}
table{border-collapse:collapse;border-spacing:0;}

fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}
del,ins{text-decoration:none;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:baseline;}
sub{vertical-align:baseline;}
legend{color:#000;}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}
input,button,textarea,select{*font-size:100%;}
.clearfix
{
    zoom: 1;
}
.clearfix:after
{
    display: block;
    clear: both;
    content: '\20';
}
#container{} /*容器*/
#layout{} /*布局*/
#header {} /*    页头部分*/
#footer{} /*     页脚部分*/
#nav {} /*    主导航*/
#subNav {} /*    二级导航*/
#menu{} /*     菜单*/
#submenu {} /*    子菜单*/
#sidebar_a, #sidebar_b{} /*     左边栏或右边栏*/
#homepage{} /*     首页*/
#logo{} /*     LOGO*/
#subpage {} /*    二级页面子页面*/
#toolbar {} /*    工具条*/
#drop {} /*    下拉*/
#dorpmenu {} /*    下拉菜单*/
#main{} /*     页面主体*/
#tag {} /*    标签*/
#message {} /*    提示信息*/
#tips {} /*    小技巧*/
#vote     {} /*投票*/
#friendlink {} /*    友情连接*/
#title{} /*     标题*/
#summary     {} /*摘要*/
#searchInput {} /*    搜索输入框*/
#search_output {} /*    搜索输出和搜索结果相似*/
#search {} /*    搜索*/
#searchBar{} /*     搜索条*/
#search_results {} /*    搜索结果*/
#copyright{} /*     版权信息*/
#branding {} /*    商标*/
#siteinfo {} /*     网站信息*/
#siteinfoLegal{} /*      法律声明*/
#siteinfoCredits{} /*      信誉*/
#joinus {} /*     加入我们*/
#partner {} /*     合作伙伴*/
#service {} /*     服务*/
#regsiter {} /*     注册*/
.arrow{} /*      箭头*/
#little {} /*     标题*/
#sitemap {} /*     网站地图*/
#list {} /*     列表*/
#status {} /*     状态*/
.products     {} /* 产品*/
.products_prices     {} /* 产品价格*/
.products_description {} /*     产品描述*/
.products_review {} /*     产品评论*/
.editor_review {} /*     编辑评论*/
.news_release {} /*     最新产品*/
.publisher {} /*     生产商*/
.screenshot     {} /* 缩略图*/
.faqs {} /*     常见问题*/
.keyword     {} /* 关键词*/
.blog {} /*     博客*/
.forum     {} /* 论坛*/

/*pages*/
.pages{ margin-top:5px;padding-right: 10px;}
.pages a{padding: 1px 5px;border: 1px solid #ccc;}
.pages b{background: #e0e0e0;}
.pages span{padding: 1px 5px;background: #e0e0e0;border: 1px solid #ccc;}

.pagesc{ margin-top:5px;text-align:center;}
.pagesc a{color:#fff;padding:0 3px; }
.pagesc a:hover
{
    background:#f00;
}
.pagesc b{background: #404041;padding:0 3px; }
.pagesc span{background: #404041;padding:0 3px;}