所以我的頁面是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;
}
有排隊這一切了一種更簡單,更好的方法.....在此先感謝