【www.gdgbn.com--php常用代码】
@charset "gb2312"; body {font-size: 12px;width:780px;height:auto;margin:0 auto; padding:0px;} div,table,ul,dl,dt,dd,li,img,form,p {margin:0 auto; padding:0px; border:0px;} li {list-style:none;} a {color:#222; text-decoration:none;} a:hover {color:#f30; text-decoration:underline;} /*下面这段是切换图相关的,大家可以自己看情况改动*/ .col2{width:335px; margin:0 1px 0 0; display:inline; background:#FAFAFA;height:275px; overflow:hidden;float:left; border-bottom:1px #AACCEE solid;} .focusPic{clear:both; margin:0 auto; width:335px; padding:0px 0 0;text-align:left;} .focusPic .pic{clear:both; height:200px; overflow:hidden;} .focusPic .pic img{border:1px solid #ccc;} .focusPic .pic ul{float:right; width:70px;} .focusPic .pic li{clear:both; text-align:right; padding:0 0 0px;} .focusPic .pic .active{ background:url(bg1.gif) 0 -454px no-repeat;} .focusPic .pic .active img{padding:0px; background:#fff; border:1px solid #1f3a87;} .focusPic .pic .active img:hover{border:1px solid #bc2931;} .focusPic h2{clear:both; font-size:14px; font-weight:bold; margin:0 auto; padding:0px; height:25px; line-height:25px; padding-top:5px;} .focusPic .text{line-height:19px; padding:0px 3px 0 0; text-indent:1em;} .cDRed,a.cDRed:link,a.cDRed:visited{ color:#bc2931;} .left{ float: left;}
本文来源:http://www.gdgbn.com/jiaocheng/18305/