PDA

View Full Version : Header help needed


Adam21
04-28-2007, 09:46 AM
I need some help in getting that square portion in white on the extreme right of my header to be slotted in with some banner.

I've attached a screenshot of what i'm talking about below.How do i do that?

Here's my Header template code.Hope someone here can help me out,thanks alot.

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">

<tr>
<td>
<table border="0" width="100%" cellpadding="0" background="$stylevar[imgdir_misc]/headerbg.jpg" style="border-collapse: collapse">
<tr>
<td width="479" rowspan="2">
<img border="0" src="$stylevar[imgdir_misc]/header1.jpg" width="479" height="166" alt="" /></td>
<td height="45">
<img border="0" src="$stylevar[imgdir_misc]/header2.jpg" width="291" height="45" alt="" /></td>
</tr>
<tr>
<td height="121">
<table border="0" width="291" cellpadding="0" style="border-collapse: collapse" height="121" background="$stylevar[imgdir_misc]/header3.jpg">
<tr>
<td>

<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
</tr>
<tr>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>

<if condition="$show['member']">
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="15" height="12" alt="" /></td>
<td class="smallfont" valign="top" nowrap="nowrap">
<div class="smallfont">

<span style="color: black;"><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br>

<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>
<else />

<td class="smallfont" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form --></span>

</td>

</if>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
</tr>
<tr>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
<td><img border="0" src="$stylevar[imgdir_misc]/spacer.gif" width="12" height="12" alt="" /></td>
</tr>
</table>

</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /logo -->

<!-- Navigation bar -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/nav.gif)" align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" height="25">

<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/nav_home.gif" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td align="center" valign="top"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_reg.gif" border="0" alt="" /></a></td>
<else />
<td align="center" valign="top" id="usercptools"><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/nav_link.gif" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>
<td align="center" valign="top"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_member.gif" border="0" alt="" /></a></td>
<td align="center" valign="top"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_usercp.gif" border="0" alt="" /></a></td>
<td align="center" valign="top"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cal.gif" border="0" alt="" /></a></td>
<td align="center" valign="top" id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_search.gif" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td align="center" valign="top"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/nav_faq.gif" border="0" alt="" /></a></td>
</tr>
</table>
</td>
</tr>
</table>


<!-- content table -->
$spacer_open

$_phpinclude_output

<script language="JavaScript" type="text/css">

<!-- Begin

function popUp(URL) {

day = new Date();

id = day.getTime();

eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=640,height=400,left = 256,top = 232');");

}

// End -->

</script>