• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

大神,帮我看一下,照着老师的代码写的,margin-top的值已经设了,为什么列

.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;}
.title_right a{
text-decoration:none;
color:#999999;}
.pic_news{
height:80px;
margin-top:10px;
line-height:22px;}
.pic_news img{
float:left;
margin:0 5px;}
.pic_news a{
color:#C00;
text-decoration:none;}
.news_list{margin-top:20px;}
.news_list li{
list-style-type:none;
background-image:url(../images/list.jpg) no-repeat;
padding-left:10px;
margin:8px;
border-bottom:1px dotted #CCC;}
.news_list a:link,.news_list a:visited{
text-decoration:none;
color:#000;}
.news_list a:hover,.news_list a:active{
text-decoration:none;
color:#F00;}
.news_list span{
color:#999;
float:right;}

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与2

额 能贴出完整代码么?

使用道具 举报

很显然,就一段又臭又长的css,没人愿意看
不过从新手的尿性来看,你可以将列表上面所有的内容,外面再套一个div,而且不要浮动,定义一个高度,试试

使用道具 举报

发新帖

发布任务需求已有1031167位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!