Skip to content Skip to sidebar Skip to footer

How Do I Center A Div With An Unspecified Width?

Here's my code for HTML:

Solution 1:

change the code like this

.outer {
        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        text-align:center;
    }

http://jsbin.com/puyabore/1/edit

Post a Comment for "How Do I Center A Div With An Unspecified Width?"