Changing width and centering default theme Changing width and centering default theme
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Changing width and centering default theme

Started by Ckesk, February 01, 2008, 03:58:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ckesk

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

Nibbler

Add the standard centering code into your css for the body tag.


margin-left: auto;
margin-right: auto;