vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Forum Alignment (https://vborg.vbsupport.ru/showthread.php?t=207918)

Andy365 03-10-2009 02:55 PM

Forum Alignment
 
My forum, version 3.8.1, aligns to the right of the screen in IE and in Safari, and some versions of Firefox, though it shows up in the center with the latest Firefox.

How can I change the alignment of the entire forum page so that when a browser opens the site it displays in the center of the screen? I tried using the spacer_open, header and footer templates, which have "center" by default. I changed them to left, thinking that might work. That did not change a thing actually.

Seven Skins 03-10-2009 06:26 PM

It is lot easier if you post the link to your site.

You can try adding this to the top of hedaer template:
HTML Code:

<div style="width:800px; margin: 0 auto">
And this to the footer template (Just above the javascript at the bottom):
HTML Code:

</div>
.

Andy365 03-10-2009 10:51 PM

Here is the URL. http://forums.jesusradicals.com/

I just tried the suggestion, didn't help unfortunately (but thanks). Explorer still aligns to the right.

Seven Skins 03-10-2009 11:24 PM

Change the margins in the body tag to:

HTML Code:

margin: 0px 0px 10px 0px;
.

Andy365 03-11-2009 12:04 AM

You are a genius. Thanks a lot.

Seven Skins 03-11-2009 10:11 AM

You are welcome :)


All times are GMT. The time now is 05:00 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.01032 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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