vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Centering on Background (https://vborg.vbsupport.ru/showthread.php?t=83681)

imported_Dyntheos 07-05-2002 04:39 AM

Forum Centering on Background
 
How do you center the forum itself on the background, such as is done here, where the forum is a fixed size and is always in the center of the page?

SaintDog 07-05-2002 05:05 AM

Please use the search button at the top, you will find your answer :).

imported_Dyntheos 07-05-2002 08:51 AM

I did I searched for centering and centering forums and centering centering.

I did read the guidelines first on posting before hand and the only thread I could find referred to nothing at all to what I was looking for.

imported_Dyntheos 07-05-2002 08:52 AM

K now I can only do one search every 30 seconds so if my first few attempts at strings do not find a return I have to wait.

SaintDog 07-05-2002 08:56 AM

My apologies, I misread your post. All that was done to obtain this affect was set the forum width to 750 (instead of 100%) and edit the body section so that instead of a bgcolor="", we have background="path/to/image.gif".

imported_Dyntheos 07-05-2002 09:00 AM

thx Saint I'll give that a shot.

Much props for the site btw, easier to nav than the vb forums..

SaintDog 07-05-2002 09:05 AM

Thanks, if you need any further help, feel free to post and I will try to be more specific :).

imported_Dyntheos 07-05-2002 09:09 AM

I have gone to the forum home and changed the 100% to 800.

It indeed makes the forum exactly 800 wide but justifies it to the left and leaves a black void where it used to be.

Iam not sure iam editing the right code here.

This is on a non modified style sheet

imported_Dyntheos 07-05-2002 09:18 AM

I added the - align="center" after it and it centered nicely.

SaintDog 07-05-2002 09:22 AM

1. Goto Styles > Modify
2. Click "Fonts/Colors/Ect"
3. Find the "Header" section and add

<center>

before

<!-- logo and buttons -->

4. Find the "Footer" section and add:

</center>

to the end of it.


5. Find the "Body" section and change:

bgcolor=""

to

background="path/to/image.gif"


6. Find "Main Table Width" and set it to 750

--------------

That should fix things up for you :)


All times are GMT. The time now is 11:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01923 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete