vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Text centered in IE but not Firefox? (https://vborg.vbsupport.ru/showthread.php?t=81583)

psoexplorer 05-16-2005 05:48 PM

Text centered in IE but not Firefox?
 
I dont know why it's happened, but it's been like it for months. Most of the text on my forum is centered in Internet Explorere, but not in Firefox. I dont want it centered, and didnt change anything to make it centered (though I'm not the only one who has access to the admincp, nobody knows why it's gone like that).

Anyway, I'm having trouble finding out why it's gone like that. I've looked through a bunch of templates but nothing stands out. The only text that isnt centered is the actual posts people make, and the info under their username on the left. The rest is centered :ermm: Here is the forum - remember it only centers the text in IE.

jugo 05-16-2005 06:10 PM

Well i did a view source in your code...you can start by removing the "center" forhits line

HTML Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
If you do a view source on the main page while logged out I believe it's line #497.

I believe that is your problem, because since that is the main forum table below the header, that may be centering everything under it.

I hope this bit on info helps.

psoexplorer 05-16-2005 06:14 PM

Where would I find that to change it in the admincp?

I did a search in my templates, but it only comes up with pages from a chat hack i've added.

DarkLite 05-16-2005 06:49 PM

You have to edit your index.php file, which isn't something you can do via the admincp.

Just go through index.php, search for the code that jugo posted, and in every instance that you don't want it centered, remove the align="center". I think it appears about 3 or 4 times in the code, and each time, there's a comment above it to tell you what part of the forum it's referring to.

psoexplorer 05-16-2005 07:08 PM

Huh? The word "center" isnt even IN my index.php, never mind that whole code.

DarkLite 05-16-2005 07:43 PM

Right, sorry. I keep forgetting that it's all php. :ermm:

Try looking in the forumhome templates.

Princeton 05-16-2005 07:58 PM

add this to your css (style) and see what happens...

Code:

td {
text-align:left
}


psoexplorer 05-16-2005 08:14 PM

Where abouts? There are loads of boxes for CSS. I added it in the CSS stylesheet in "headinclude" but that just added "text-align:left" all over my page. I added it in the extra CSS attributes under the "body" section, and it did nothing.

anybody?

Princeton 05-17-2005 08:31 PM

check around your google code...
you have an open <p align="center">


All times are GMT. The time now is 12:30 AM.

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.01169 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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