vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Forum topics suddenly centered in IE (https://vborg.vbsupport.ru/showthread.php?t=206198)

pitzerwm 02-22-2009 05:17 AM

Forum topics suddenly centered in IE
 
Hi, I worked on the NavBar day before yesterday, but I have no idea if this could have caused this new issue. In IE 6, I was informed that the sub-forum titles are centered instead of being on the left. When you click on a category the tread titles are also centered instead of being on the left. Site: http://forum.autocareforum.net/ , one of the categorries: http://forum.autocareforum.net/forumdisplay.php?f=5

In FireFox it is normal. Any wizard have an answer to this?

Thanks I solved it, well know what I did, so fixing it.

TigerC10 02-22-2009 05:30 AM

Yeah, Firefox has a feature called "code correction". Basically if someone leaves out a closing tag for some part of the page code (like a </div> or a </td>) Firefox will automatically fill it in or fix it. This has lead some developers to be lazy and just write a quarter of the code necessary for a webpage - and when people complain about poor site design they say "switch to firefox". It's lame.

This issue is not unique to Internet Explorer, but it happens in Opera too.

The issue you have is that you typoed one of the tags. Check your navbar template for this
Code:

<td id="navbar_search" class="vbmenu_control"><a href="search.php" accesskey="4" rel="nofollow">Search</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td<td class="vbmenu_control">
^The red text highlighted is where you messed up. Without that </td> it thinks that your forum listing is part of the navbar which is centered.

pitzerwm 02-22-2009 07:37 AM

Thanks


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