Can someone help me with this HTML and CSS issue?
<div id="wrapper">
<div id="center">
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="clearBoth"></div>
</div>
</div>
This is the CSS part:
#wrapper{width:100%}
.cell{float:left}
The width of #wrapper is set to 100%, and the number of cells varies, making the width of #center also variable.
The question at hand is: How can I ensure that #center remains horizontally center-aligned?