我在使用下面的 CSS 时遇到问题,我似乎无法让白框与品牌框对齐:
HTML:
<div class="homeWrapper">
<div class="homeWrapperContentLeft">
<div id="default">
<div class="content_inner">
<h1><span class="color_red">Welcome</span>/h1>
<p>
</p>
</div>
<div class="brands">
<h1><span class="color_red">Products</span> by Brand</h1>
<table class="manufacturer_table" height="24" style="width: 100%;" width="242">
<tbody>
<tr>
<td>
</tbody>
</table>
<div class="homeWrapperContentLeftCenter">
text
</div>
</div>
</div>
</div>
</div>
CSS:
.homeWrapperContentLeft{
width:628x;
height:825px;
background-color: red;
}
.homeWrapperContentLeft .brands{
float:left;
width:251px;
height:598px;
padding: 12px;
clear: both;
}
.homeWrapperContentLeftCenter{
float:left;
width: 377px;
height: 598px;
background:#000;
}