This is what I would use to center a div – are there any other techniques? don’t say <center></center> O__O
<div class=”one”>
<div class=”two”>
</div>
</div>
.one{
text-align:center;
}
.two{
margin: 0 auto 0 auto;
text-align: left;
}
Margin auto for left and right centrers the div (because float:center; doesn’t exist), and the outer layer’s “text-align:center” is for IE bugs… The inner object’s “text-align:left;” is to over-ride the outer centring, so that the text isn’t centred.