Help: Change SMF default theme to fixed width and make it centered

Started by wjhdiz, October 01, 2008, 11:27:59 PM

Previous topic - Next topic

wjhdiz

Hi,

I'd like to make the default theme to fixed width and make it centered to the screen. To make the theme to fixed width can be done by change the style.css body tag. I got that done without problems. However, the result forum is aligned to the left of the screen.

How to make it align to the center?

Any suggestions are greatly appreciated.

Thanks in advance.
Jimmy
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

Nathaniel

Add these css properties to the body css.
margin-left:auto;
margin-right:auto;
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

wjhdiz

Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

Advertisement: