初始化样式s 下载本文

内容发布更新时间 : 2024/4/25 17:51:30星期一 下面是文章的全部内容请认真阅读。

/* 初始化样式s */

*{margin:0px;padding:0px;list-style-type:none;text-decoration:none;} .clear{clear:both;} dd{font-size:12px} a{color:#444;}

a:Hover{color:#eb0009} /* 初始化样式e */

/* 通用公共 样式s */

#top,#ad,#nav,#logo,#nav,#remark,#content{width:1000px; margin:0px auto;}

/* 通用公共 样式e */

/* TOP 样式s */

#bigTop{width:100%;border-bottom:1px solid #eee;background:rgb(248,248,248);line-height:36px;border-top:2px solid #000;} #top{height:36px;}

#top #top_left{width:490px;height:36px;float:left;}

#top #top_left li{float:left;height:36px;padding:0px 10px;} #top #top_right{width:170px;height:36px;float:right;}

#top #top_right span{display:inline-block;height:36px;padding:0px 20px;border-left:1px solid #ccc; border-right:1px solid #ccc;} #top #top_right ul{float:right;height:20px;margin:8px 0px;} #top #top_right ul li{float:left;margin:0px 2px;}

#top #top_right ul li a{display:inline-block;width:20px;height:20px;}

#top #top_right ul li a.weibo{background:url(tupian/share.jpg);} #top #top_right ul li a.zoom{background:url(tupian/share.jpg) -35px 0px;}

#top #top_right ul li a.email{background:url(tupian/share.jpg) -70px 0px;}

#top #top_right ul li a.weibo:Hover{background:url(tupian/share2.jpg);}

#top #top_right ul li a.zoom:Hover{background:url(tupian/share2.jpg) -35px 0px;}

#top #top_right ul li a.email:Hover{background:url(tupian/share2.jpg) -70px 0px;} /* TOP 样式e */ /* logo 样式s */

#logo_left{width:330px;height:48px;float:left;}

#logo_right{width:250px;height:26px;float:right;position:relative;padding-top:11px;}

#logo #logo_right input{width:180px;height:24px;border:1px solid #eee;border-radius:4px 0px 0px 4px;padding-left:3px;float:left;}

#logo #logo_right a{display:block;width:50px;height:24px;background:url(news/bt.jpg);float:left; border-top:1px solid #eee; border-right:1px solid #eee;

border-bottom:1px solid #eee;border-radius:0px 4px 4px 0px;} #logo #logo_right #ma{width:18px;height:22px;position:absolute;top:12px;left:160px;} /* logo 样式e */

/* nav样式s */

#nav dl{width:1000px;height:40px;border-top:3px solid #eb0000;margin-top:10px;

border-left:1px solid #eee;border-right:1px solid #eee;border-bottom:1px solid #eee;}

#nav dl dt{float:left;line-height:40px;}

#nav dl dt a{display:block;padding:0px 16px;border-left:1px solid #eee;font-size:14px;}

#nav dl dt a:hover,#nav dl dt a.current{background:#eb0000;color:#fff;}

#nav dl dt a.index{width:39px;border-left:0;text-align:center} /* nav 样式e */

/* content 样式s */

#content{margin:30px auto;}

#content #content_left{width:670px;padding-right:15px;margin-right:15px;float:left;border-right:1px solid #eee;} #content #content_right{width:299px;float:left;}

#content #content_left ul{width:670px;border-top:1px solid #eee;} #content #content_left ul li{padding:15px 0px;border-bottom:1px dotted #eee;}

#content #content_left ul li:hover{background:#f5f5f5;}

#content #content_left ul li dl dt{font-size:22px;font-family:microsoft yahei;}

#content #content_left ul li dl dd{background:url(news/dot.jpg) no-repeat 0px 6px;text-indent:20px;line-height:2em;width:32

0px;float:left;}

#content #content_left ul li img{width:121px;height:88px;float:left;margin-right:15px;}

/*右侧新闻列表样式 公用 s*/

#content_right dl{border-top:2px solid #000;background:rgb(249,249,249);}

#content_right dl dt{height:35px;line-height:35px;font-size:12px;margin-bottom:10px;}

#content_right dl dt a.title_img{display:inline-block;height:35px;} #content_right dl dt a.title_more{float:right;display:inline-block;height:35px;padding-right:10px}

#content_right dl dd{background:url(news/dot.jpg) no-repeat 10px 8px ;text-indent:20px;font-size:14px;line-height:2em;padding:0px 10px 10px 10px;}

#content_right dl dd.first{background:none; text-indent:0px;} #content_right dl h2{font-size:14px;font-weight:normal;line-height:1.5em;}

#content_right dl img{float:left;margin-right:20px;margin-top:5px} #content_right dl dd span{font-size:12px;color:#888;}

/*右侧新闻列表样式 公用 e*/

/* content 样式e */

无标题文档