I have problem centering content of column. Here is part of layout:
<div class="tab-pane fade" id="AccountState">
<div class="col-md-12">
<div class="center-block" id="mainDiv" style="overflow:auto">
<div class="stateItem" id="AlarmBurglary">
<p class="stateText" data-localize="_Burglary">_Burglary</p>
<img id="stateImg" src="img/ball_red48.png" alt="stateImg" />
</div>
<div class="stateItem" id="AlarmPanic">
<p class="stateText" data-localize="_Panic">_Panic</p>
<img id="Img1" src="img/ball_red48.png" alt="stateImg" />
</div>
....
</div>
<div>
</div>
My problem is that i can't center these 'stateItem' divs inside this mainDiv. As you see, i tried center-block but items still stay aligned left.
Classes stateItem, stateText and stateImg dont have any kind of style regarding positioning - only width, height and padding.