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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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;