[solved] How to center site
Posted: Sun May 09, 2010 4:16 am
I am new to CMSMS so for give me a rather simple question. I started by building from the ncleanblue theme, which is a wall to wall layout, but I want a say 60% size site and background color for the rest. Works the below settings, but it is left and not centered, how can I center it ? Obviously easy, but I can not make it work. Any pointers more than welcome..
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the */
max-width: 80em;
min-width: 80em;
/* now that width is set this centers wrapper */
/*margin: 0 auto;*/
background: #fff url(uploads/sulumtheme/bg__full.png) repeat-x scroll left top;
color: black;
}
/* Mask helper for browsers ZOOM, Rezise and Decrease */
#ncleanblue {
/* set to width of viewport */
width: 60%;
/* you can set your own image and background color here */
background: #fff url(uploads/sulumtheme/bg__full.png) repeat-x scroll left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the */
max-width: 80em;
min-width: 80em;
/* now that width is set this centers wrapper */
/*margin: 0 auto;*/
background: #fff url(uploads/sulumtheme/bg__full.png) repeat-x scroll left top;
color: black;
}
/* Mask helper for browsers ZOOM, Rezise and Decrease */
#ncleanblue {
/* set to width of viewport */
width: 60%;
/* you can set your own image and background color here */
background: #fff url(uploads/sulumtheme/bg__full.png) repeat-x scroll left top;
}