dxlwebs
10-10-2008, 08:03 AM
hey all im creating a new template but im having some trouble with the header
you can see the problem here (http://www.gamemasterx.com/?styleid=23)
its the same problem in both IE and FF
Here is the code
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
<td align="center" valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
<td align="$stylevar[left]" valign="middle"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="right" valign="middle"><strong>
<div style="float:left; vertical-align:middle; margin-top:10px; width:90%;"><br />$header_advertisement</div><div style="float:right; width:10%;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/logoleft.gif"></div>
</td>
</tr>
<tr>
<td height="29" colspan="3" class="vb_navigation">
<!-- nav buttons bar -->
<div><div style="float:left; width:47px; height:29px;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/menuleft.gif" align="left"></div><div align="center" style="width:900px; height:29px;">
<table cellpadding="0" cellspacing="0" border="0" class="vb_navigation">
<tr align="center">
<td width="78" height="29" class="css_nav"><a href="http://www.gamemasterx.com" rel="nofollow">Home</a></td>
<td width="78" height="29" class="css_nav"><a href="index.php" rel="nofollow">Forum</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td width="78" height="29" class="css_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td width="78" height="29" class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td width="78" height="29" class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[vb_members_list]</a></td>
<td width="78" height="29" class="css_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[vb_new_posts_nav]</a></td>
<else />
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td>
</if>
<td id="navbar_search" width="78" height="29" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools" width="78" height="29" class="css_nav"><a href="$show[nojs_link]#usercptools">$vbphrase[vb_quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td width="78" height="29" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td width="78" height="29" class="css_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="#" onClick="window.open('misc.php?$session[sessionurl]do=buddylist&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="$show['member']">
<td width="78" height="29" class="css_nav"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onClick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div><div style="float:right; width:47px;; height:29px;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/menuright.gif" align="right"></div></div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->
If anyone knows what im doing wrong please let me know thank you
you can see the problem here (http://www.gamemasterx.com/?styleid=23)
its the same problem in both IE and FF
Here is the code
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
<td align="center" valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
<td align="$stylevar[left]" valign="middle"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="right" valign="middle"><strong>
<div style="float:left; vertical-align:middle; margin-top:10px; width:90%;"><br />$header_advertisement</div><div style="float:right; width:10%;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/logoleft.gif"></div>
</td>
</tr>
<tr>
<td height="29" colspan="3" class="vb_navigation">
<!-- nav buttons bar -->
<div><div style="float:left; width:47px; height:29px;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/menuleft.gif" align="left"></div><div align="center" style="width:900px; height:29px;">
<table cellpadding="0" cellspacing="0" border="0" class="vb_navigation">
<tr align="center">
<td width="78" height="29" class="css_nav"><a href="http://www.gamemasterx.com" rel="nofollow">Home</a></td>
<td width="78" height="29" class="css_nav"><a href="index.php" rel="nofollow">Forum</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td width="78" height="29" class="css_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td width="78" height="29" class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td width="78" height="29" class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[vb_members_list]</a></td>
<td width="78" height="29" class="css_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[vb_new_posts_nav]</a></td>
<else />
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td>
</if>
<td id="navbar_search" width="78" height="29" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools" width="78" height="29" class="css_nav"><a href="$show[nojs_link]#usercptools">$vbphrase[vb_quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td width="78" height="29" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td width="78" height="29" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td width="78" height="29" class="css_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td width="78" height="29" class="css_nav"><a href="#" onClick="window.open('misc.php?$session[sessionurl]do=buddylist&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="$show['member']">
<td width="78" height="29" class="css_nav"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onClick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div><div style="float:right; width:47px;; height:29px;"><img src="http://www.gamemasterx.com/forum/images/gmx-site/misc/menuright.gif" align="right"></div></div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->
If anyone knows what im doing wrong please let me know thank you