/*
/*
* 创建人:牛腩
*/
* { /* 把默认值都设置为0 */
margin:0;
padding:0;
border-width:0;
}
body {
font-size: 14px;
}
a:link,a:visited {
/* 鼠标未移上去的超链接的样式, 超链接访问后的样式 */
color: #000;
text-decoration: none;
}
a:hover {
/* 鼠标移到超链接上的样式 */
color: #00f;
text-decoration: underline;
}
#top, #search, #main, #footer { /* 公共样式 */
margin: 10px auto 10px auto;
width: 760px;
}
#main { /* 可变内容区域样式 */
}
ul,li { /* 项目列表样式 */
list-style-type:none;
}
li {
text-align: center;
margin: 20px;
}
li a:link, li a:visited {
/* 分类名称样式 */
color: #00f;
text-decoration: underline;
font-weight: bold;
}
li a:hover {
color: #f00;
}
.commonfrm {
/* 框架公共样式 */
border:1px solid #DEDFDE;
float: left;
}
.commonfrm h4 {
/* 框架标题样式 */
color: #fff;
background-color: #7BAEEF;
height: 26px;
line-height: 26px;
padding-left: 10px;
font-size: 14px;
}
.commonfrm table {
width: 100%;
text-align: center;
border-collapse: collapse; /* 细线表格 */
}
.commonfrm table th, .commonfrm table td{
padding: 5px;
}
.commonfrm tr, .commonfrm td {
/* height: 26px !important;
*height: auto !important; ie7 */
/* height:auto; ie6是auto */
}
.commonfrm .th_category { /* 表格中类别名称列的宽度 */
width: 100px;
}
.commonfrm .th_time { /* 表格中发布时间列的宽度 */
width: 150px;
}
.commonfrm .td_category {
color: #999;
}
.commonfrm .td_time {
color: #999;
font-size: 12px;
}
#category {
/* 新闻分类框架 */
width: 180px;
height: 368px !important; height: 378px;
margin-right:5px;
margin-bottom: 10px;
}
#newnews {
/* 最新新闻框架 */
width: 560px;
margin-left: 5px;
margin-bottom: 10px;
}
#hotnews {
/* 热点新闻框架 */
width: 560px;
margin-left: 5px;
margin-bottom: 10px;
}
/*]]>*/
[Ctrl A 全部选择 提示:你可先修改部分代码,再按运行]