Tuesday, April 5, 2011

How to center a div by CSS

By two div
    <div style="width: 100%; text-align: center;">
        <div style="display: inline-block;">Text example</div>
    </div>

No comments:

Post a Comment