html使用div显示会错位,为什么2个div并列在DW里会错位?

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

无标题文档

#index_2{

width:740px;

float:left;

margin:0 0 0 10px;

}

#index_2_1{

width:740px;

float:left;

}

#index_2_1 h2{

width:740px;

background-image:url(images/gsjj.jpg);

background-repeat:no-repeat;

}

#index_2_1 h2 span{

padding:9px 10px 0 0;

}

#index_2_1 h2 span a{

color:#000;

}

#index_2_1 h2 span a:hover{

color:#d00b0b;

}

#index_2_1 div{

line-height:25px;

padding:5px 10px;

background-color:#f3f3f3;

width:720px;

}

#index_2_2{

width:740px;/*……*/

float:left;

margin:10px 0 0 0;

}

#index_2_2_1{

width:365px;

float:left;

}

#index_2_2_1 h2{

background-image:url(images/h2.png);

background-repeat:no-repeat;

width:356px;

height:21px;

padding:9px 0 0 10px;

}

#index_2_2_1 ul{

list-style:url(images/xiushi3.png);

padding-left:20px;

width:343px;

background-color:#f3f3f3;

border-bottom:1px solid #d00b0b;

border-left:1px solid #d00b0b;

border-right:1px solid #d00b0b;

}

#index_2_2_2{

width:365px;

float:left;

margin:0 0 0 10px;

}

#index_2_2_2 h2{

background-image:url(images/h2.png);

background-repeat:no-repeat;

width:355px;

height:21px;

padding:9px 0 0 10px;

}

#index_2_2_2 ul{

list-style:url(images/xiushi3.png);

padding-left:20px;

width:343px;

background-color:#f3f3f3;

border-bottom:1px solid #d00b0b;

border-left:1px solid #d00b0b;

border-right:1px solid #d00b0b;

margin-top:-1px;/*……………………*/

}

h2{

color:#fff;

font-size:13px;

height:30px;

margin:0;

}

h2 span{

padding:1px 10px 0 0;

}

h2 span a{

color:#fff;

}

h2 span a:hover{

color:#ff0;

}

ul{

list-style-type:none;

margin:0;

padding:5px 0 5px 10px;

}

li{

line-height:25px;

}

img{

border:0;

}

a{

text-decoration:none;

color:#000;

}

a:hover{

text-decoration:underline;

color:#f00;

}

span{

float:right;

padding:0 10px 0 0;

font-weight:normal;

font-size:12px;

}

更多 >>新闻动态

  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态

更多 >>行业知识

  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 2013-7-27新闻动态
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值