Home › Forums › CSS › Keep page centered › Re: Keep page centered
July 5, 2013 at 1:14 pm
#141684
Paulie_D
Member
All it needs is for the content to be wrapped in an element (usually a div) and it will have a set width and for the margin to be set to auto.
These divs are usually called wrappers or containers.
Here’s an example…in this case, because I wanted multiple sections, I use a class called `inner`…it works the same.