Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Centering the forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Centering the forum

 Post Reply Post Reply
Author
sitetutor View Drop Down
Newbie
Newbie
Avatar

Joined: 11 April 2008
Location: San Diego
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sitetutor Quote  Post ReplyReply Direct Link To This Post Topic: Centering the forum
    Posted: 11 April 2008 at 5:56am

I am trying to center the forum and added a center tag at the top before the code and closed the tag on the bottom after the code. This works when the forum shows in firefox, but in explorer, all the content etc is centered as well.

I can't seem to find in the knowledgebase how to center the forum. If anyone knows, please advise. I know it is probably a very simple solution.

Thanks,

 

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 9:10am
You should do this by editing the CSS file for your forum. The CSS file being used depends on the skin you use, so have a look in the skins page in the admin area for the path to your forums CSS file.
Back to Top
sitetutor View Drop Down
Newbie
Newbie
Avatar

Joined: 11 April 2008
Location: San Diego
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sitetutor Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2008 at 11:40pm
I found that I am using the defualt template and have pulled up the css stylesheet for that template, however I am not sure of 2 things:
 
1) where in the css in input the centering code
2) what code to input
 
I want it to be centered in any browser which displays the forum as that is the way it is set up for the rest of the website. Any help with this is appreciated.
Back to Top
sitetutor View Drop Down
Newbie
Newbie
Avatar

Joined: 11 April 2008
Location: San Diego
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sitetutor Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2008 at 12:27am

For those who ma yneed help. I found my answer using the following:

add this to the HTML pages: <div id="page-wrapper">
add this to the css:

body {
    text-align: center;
    }

#page-wrapper {
    width: 750px;
    margin: 0 auto;
    text-align: left;
    }

This answer was found here:
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.