Topic: Centering all the forum content [THREAD SOLVED]
I would like to put all the forum content into a 766px invisible box, centered into the web page (auto-margin left and right so resizing the window won't change the centered position), to match my own web site header. Which is already always centered!
Where and how should I add the code?
Thanks is advance for your help!
By the way, I did this to my web site by adding this code into my CSS and putting all the content in the #conteneur div :
#conteneur
{width: 766px; margin-left: auto; margin-right: auto;}
--
THIS ISSUE HAVE BEEN SOLVED BY ELZAR (MAYBE THIS COULD BE ADDED TO THE PUNBB FAQ)
Here is the proper solution, as Elzar suggested :
--
You need to open the stylesheet (Oxygen.css) etc and replace:
HTML, BODY {MARGIN: 0; PADDING: 0}
#punwrap {margin:12px 20px}
with:
HTML, BODY {MARGIN: 0; PADDING: 0; TEXT-ALIGN: center}
#punwrap {MARGIN: 0 auto; WIDTH: 766px; TEXT-ALIGN: left}
--