Home › Forums › CSS › [Solved] Captain tell me how to align this wrapper in center › Reply To: [Solved] Captain tell me how to align this wrapper in center
June 16, 2014 at 3:37 pm
#172893
Paulie_D
Member
It is aligned center…kind of…but it’s 100% wide.
You could throw a width on it and then use margin:auto
div.AG_album_wrap {
display: block;
margin-bottom: 20px;
padding-bottom: 5px;
width: 90%;
margin: 0 auto;
}
BUT what I think you really want is for the images to be centered…not the wrapping div. Am i right?