css添加进图片怎么会有空白?
<!--css部分-->body{background-image:url(../images/index/images/background_jz_01.gif.jpg...
<!--css部分-->
body {background-image:url(../images/index/images/background_jz_01.gif.jpg); width:1005px; height:601px; margin:0px auto; padding:0px;}
.left{width:527px; height:579px; background:#99CCFF; float:left; margin-right:0}
.right_01{width:476px; height:290px; clear:none}
.right_jz_02 {width:353px; height:290px; clear:none; float:left;display:block;}
.right_logo_banana{width:123px; height:290px; float:right; padding-top:13px;display:block;}
.right{width:473px;height:579px; float: right; clear:right;display:block; }
.right_middle{width:394px; height:284px; margin:0px; padding:0px;display:block;}
.right_pic_jz_02{ padding-top:50px; padding-left:11px; float:left; width:40px; height:73px;}
.right_pic_jz_03{width:315px; height:315px; float:left;display:block;display:block;}
.right_image281_14{width:17px; height:170px; float:right; clear:none;display:block;}
<!--html部分-->
<body>
<div class="left">
<img src="../images/index/images/banana_jz_01.gif.jpg"/>
<img src="../images/index/images/banana_gif_07.gif.jpg"/>
<img src="../images/index/images/image281_08.jpg"/>
<img src="../images/index/images/pic_jz_01.jpg"/>
</div>
<div class="right">
<div class="right_01">
<div class="right_jz_02"><img src="../images/index/images/banana_jz_02.gif.jpg"/></div>
<div class="right_logo_banana">
<img src="../images/index/images/logo_jz_01.gif.jpg"/>
<img src="../images/index/images/banana_jz_06.gif.jpg"/>
</div>
</div>
<div class="right_middle">
<div class="right_pic_jz_02">
<img src="../images/index/images/pic_jz_02.gif.jpg"/>
</div>
<div class="right_pic_jz_03">
<img src="../images/index/images/pic_jz_03.gif.jpg" width="314"/></div>
<div class="right_image281_14">
<img src="../images/index/images/image281_14.jpg"/>
</div>
</div>
</div>
<div>
<img src="../images/index/images/foot_jz_01.gif.gif"/>
</div>
</body> 展开
body {background-image:url(../images/index/images/background_jz_01.gif.jpg); width:1005px; height:601px; margin:0px auto; padding:0px;}
.left{width:527px; height:579px; background:#99CCFF; float:left; margin-right:0}
.right_01{width:476px; height:290px; clear:none}
.right_jz_02 {width:353px; height:290px; clear:none; float:left;display:block;}
.right_logo_banana{width:123px; height:290px; float:right; padding-top:13px;display:block;}
.right{width:473px;height:579px; float: right; clear:right;display:block; }
.right_middle{width:394px; height:284px; margin:0px; padding:0px;display:block;}
.right_pic_jz_02{ padding-top:50px; padding-left:11px; float:left; width:40px; height:73px;}
.right_pic_jz_03{width:315px; height:315px; float:left;display:block;display:block;}
.right_image281_14{width:17px; height:170px; float:right; clear:none;display:block;}
<!--html部分-->
<body>
<div class="left">
<img src="../images/index/images/banana_jz_01.gif.jpg"/>
<img src="../images/index/images/banana_gif_07.gif.jpg"/>
<img src="../images/index/images/image281_08.jpg"/>
<img src="../images/index/images/pic_jz_01.jpg"/>
</div>
<div class="right">
<div class="right_01">
<div class="right_jz_02"><img src="../images/index/images/banana_jz_02.gif.jpg"/></div>
<div class="right_logo_banana">
<img src="../images/index/images/logo_jz_01.gif.jpg"/>
<img src="../images/index/images/banana_jz_06.gif.jpg"/>
</div>
</div>
<div class="right_middle">
<div class="right_pic_jz_02">
<img src="../images/index/images/pic_jz_02.gif.jpg"/>
</div>
<div class="right_pic_jz_03">
<img src="../images/index/images/pic_jz_03.gif.jpg" width="314"/></div>
<div class="right_image281_14">
<img src="../images/index/images/image281_14.jpg"/>
</div>
</div>
</div>
<div>
<img src="../images/index/images/foot_jz_01.gif.gif"/>
</div>
</body> 展开
2个回答
展开全部
总长度:1005
但是left+right=1000 【left:527 right :473 】
LEFT 和RIGHT 之间有5PX 的空隙。
改下宽度即可。 让他们加起来=1005
但是left+right=1000 【left:527 right :473 】
LEFT 和RIGHT 之间有5PX 的空隙。
改下宽度即可。 让他们加起来=1005
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询