PDA

View Full Version : Help. Forum Unaligned in explorer


danielc2384
09-04-2008, 03:07 PM
So I had my forum set up and working fine an hour ago until I added a new style and made it a parent of my default style. Anyway.....


I got the forum back to normal in firefox. No problems there. In explorer everything is unalined. You can see it at www.dollhousetvforum.com

Here is the code on the header:

<a name="top"></a>

<table width=775 height=100% cellspacing="0" cellpadding="0" border="0" align="center" valign=top>
<tr>
<td align=center width=5 height=100%

</td>

<td align=center valign=top width=765>

<table cellspacing="0" cellpadding="0" border="0" align="center" valign=top width=100% height=100%>
<tr>
<td align=center valign=top height=188 width=100%


<table width="100%" height=188 cellspacing="0" cellpadding="0" border="0"

align="center" valign=top>
<tr>

<td align=left valign=top height=188 width=183>


<center>
<td align="$stylevar[center]"><a href="http://www.dollhousetvforum.com"> <img src=images/voodoo/misc/logo.jpg></a></td>
</center>

</td>

<td align=right width=100% valign=top height=188 align=right>

</td>
</tr>
</table>

</td>
</tr>

<tr>
<td width=100% height=100% align=center valign=top bgcolor=#000000>

<table width=100% height=100% align=center valign=top border=0 cellpadding=0 cellspacing=0>
<td align=center width=100% height=100% valign=top>

<!-- /logo -->

<!-- content table -->

$spacer_open
<br>
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

<td class="vbmenu_control"><a href="arcade.php">Arcade</a></td>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
</if>
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
<br>
$_phpinclude_output

Lynne
09-04-2008, 03:10 PM
This is not going to work:

<td align=center width=5 height=100%

</td>
Try:
<td align=center width=5 height=100%>

</td>
Check all your lines. You've done that in a couple of places. Also, you really should use quotes around the attributes, ie. align="center"

danielc2384
09-04-2008, 03:17 PM
This is not going to work:

<td align=center width=5 height=100%

</td>
Try:
<td align=center width=5 height=100%>

</td>
Check all your lines. You've done that in a couple of places. Also, you really should use quotes around the attributes, ie. align="center"

Thats heaps! It's all working now. I spent about 2 hours looking through that code and there it was.


One other small problem when I log out. Where it should say "are you sure you want to log out" it says undefined and when I click ok after that it says An error occurred while attempting to log you out. Click here to log out.

Lynne
09-04-2008, 04:00 PM
It sounds like you need to update your logout lines in your style. I think they changed a while back and maybe you are using the old code with the new php pages and thus getting the errors.