Center justify style

Gandalf42

Member
I'm trying to set the boundaries for the forum layout and added 'max-width: 1024;' to the style to cap the max width. However this left justifies the forum on the screen. Is there a way to cap it and have it center the forum layout?

Thanks
 

ToDie4

Well-known member
You need to set the top and bottom margins to 'zero' ideally, so use margin: 0 auto;
 
Top