Gandalf42 Member Nov 13, 2011 #1 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
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
steel_curtain Well-known member Nov 13, 2011 #2 You'll need to add margin:auto after the max-width like below. max-width:1024px; margin: auto; Upvote 0 Downvote
ToDie4 Well-known member Nov 13, 2011 #4 You need to set the top and bottom margins to 'zero' ideally, so use margin: 0 auto; Upvote 0 Downvote