vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Skin Centering Text in IE (https://vborg.vbsupport.ru/showthread.php?t=180328)

King Justice 05-24-2008 02:47 AM

Skin Centering Text in IE
 
Hello.

My forum skin works great in FireFox but not in IE; it centers the text for some reason in IE.
Can anyone tell me how to fix it?

URL: Sell Game Accounts

Help appreciated. :o

GameWizard 05-24-2008 02:59 AM

There's definitely something in your CSS that's causing this problem, something that's causing it to be centered.

I also noticed you use this following code throughout your page:
Code:

float: center;
I just wanted to point that this code doesn't actually do anything, there is no 'center' atrribute, only left and right. You can remove this code.

As for your problem, if you add the this code to the proper attribute, it should fix your problem:

Code:

text-align: left;
You will need to play around with it and find out where it should go as im not familiar with your css.

King Justice 05-24-2008 02:44 PM

Quote:

Originally Posted by GameWizard (Post 1529641)
There's definitely something in your CSS that's causing this problem, something that's causing it to be centered.

I also noticed you use this following code throughout your page:
Code:

float: center;
I just wanted to point that this code doesn't actually do anything, there is no 'center' atrribute, only left and right. You can remove this code.

As for your problem, if you add the this code to the proper attribute, it should fix your problem:

Code:

text-align: left;
You will need to play around with it and find out where it should go as im not familiar with your css.

Hello.

I have went ahead and done this, but there is still a problem. Text is still being centered in IE. :( Looks great in FireFox though. :(

--------------- Added [DATE]1211644329[/DATE] at [TIME]1211644329[/TIME] ---------------

Update: So I went ahead in and added the CSS attribute table { text-align: left; } and it fixed it.

Please confirm that it looks good to you in FireFox and IE, whoever is viewing this thread. :)

GameWizard 05-24-2008 04:10 PM

Seems to be working :up:


All times are GMT. The time now is 05:29 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.01242 seconds
  • Memory Usage 1,719KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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