如果不使用width: 270px;
所有<div class="top-results">
水平对齐,但我需要新行上的每个div。如何在css中替换width: 270px;
?
<div id="top-results-wrapper">
<div class="top-results">
<span class="top-results-number">208</span>
<span class="top-results-car">BMW X6</span>
<span class="top-results-result">13.552</span>
</div>
<div class="top-results">
<span class="top-results-number">209</span>
<span class="top-results-car">SUBARU IMPREZA</span>
<span class="top-results-result">11.263</span>
</div>
</div>
#top-results-wrapper {
float: left;
width: 270px;
}