所以我的页面是here,正如你可以在中间看到我试图(不成功)让两个图像适合灰色方块......每边一个。这里是我的html如何正确对齐此Css
<div class="top_center_image">
<div class="left_image">
</div>
<div class="right_image">
</div>
</div>
,这里是我的CSS
.top_center_image{
background: url("../image/TopBox.png") no-repeat;
height: 179px;
margin-left: 5px;
width: 649px;
}
.left_image{
background: url('../image/DwightWorldVideoleft.png') top left no-repeat;
width: 296px;
height:152px;
margin-left:11px;
float:left;
}
.right_image{
background: url("../image/AMWimage.png") no-repeat scroll left top transparent;
height: 152px;
margin-left: 11px;
width: 311px;
float:right;
}
有排队这一切了一种更简单,更好的方法.....在此先感谢