向左浮动失效
.news{
width:340px;
border:1px; solid #E8E8E8;
}
.course{
width:410px;
border:1px; solid #E8E8E8;
margin:0 7px;
}
.sidebar{
width:230px;
float: left;
display: inline;
height: 250px;
}
.news,.course,{
float:left;
height:250px;
display: inline;
border: 1px solid #E8E8E8;
}
.title{
height:35px;
border-bottom:2px solid #E8E8E8;
}
.title_left{
width:70%;
font-family:"微软雅黑";
font-size:14px;
font-weight:bold;
color:#786F66;
float:left;
line-height:35px;
padding-left:20px;
}
.title_right{
width:20%;
float:right;
line-height:35px;
text-align:right;
padding-right:10px;
}
.title_right a{
text-decoration:none;
color:#999999;
}
.pic_news{
height:80px;
margin-top:10px;
line-height:22px;
}
.pic_news img,.course_pic img{
float:left;
margin:0 5px;
}
.pic_news a,.course_pic a{
color:#C00;
text-decoration:none;
}
.news_list{
margin-top:10px;
}
.news_list li{
list-style-type:none;
background:url(../images/list.jpg) no-repeat;
padding-left:10px;
margin:8px;
border-bottom:1px dotted #CCC;
}
.news_list a:link,.news_list a:visited
{
color:#000;
text-decoration:none;
}
.news_list a:hover,.news_list a:active
{
color:#F0F;
text-decoration:none;
}
.data{
color:#999;
float:right;
}
.course{
height:120px;;
margin-top:10px;
line-height:22px;
}
.course_type{
height:37px;
width:372px;
background:url(../images/product_type_bg.jpg) no-repeat;
margin:20px auto;
}
.course_type li{
list-style-type:none;
float:left;
line-height:37px;
margin:0 15px;
text-align:center;
}