PDA

View Full Version : Forum topics suddenly centered in IE


pitzerwm
02-22-2009, 05:17 AM
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

<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