coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Ckesk on February 01, 2008, 03:58:37 PM

Title: Changing width and centering default theme
Post by: Ckesk on February 01, 2008, 03:58:37 PM
Hi, sorry to be asking such a stupid question, cause I know the answer will make me smack my forhead, but I am at wits end. I am altering the classic theme to match that of my wordpress and SMF forum theme. I have it nearly completely done except that I cant seem to center the index page. I was successful in changing the width, but for some reason it aligns left (i cant find it anywhere in the style.css, template.html that would cause it to go left) I have the main table in template.html with an align="center". Nothing seems to work. Is there something hidden that I might be missing? I can PM or copy/past whatever section of files you need.

Thanks in advance.

The site in question is http://ckesk.net
Title: Re: Changing width and centering default theme
Post by: Nibbler on February 01, 2008, 04:16:06 PM
Add the standard centering code into your css for the body tag.


margin-left: auto;
margin-right: auto;
Title: Re: Changing width and centering default theme
Post by: Ckesk on February 01, 2008, 04:22:31 PM
thanks!