logo align center

dogbox

New Member
hi
I'm trying to center align my logo but am unable to do it, could someone help please. I have tried changing <td align="$stylevar[align=left] to <td align="$stylevar[align=center] but that doesn't work. here is my header template. I am using Aria Sand +
thank you

Code:
<!-- logo -->
<a name="top" id="top"></a>
<table width="$stylevar[outertablewidth]"  align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td width="15" style="background-image:url($stylevar[imgdir_misc]/left.gif)"><img src="$stylevar[imgdir_misc]/left.gif" width="15"  border="0" alt="" /></td> 
    <td width="100%">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
	<td align="$stylevar[align=left]" valign="top" height="126"><!-- logo --><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a><!-- /logo --></td>

	<td align="$stylevar[align=right]" id="header_right_cell">
        <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </td>
</tr> 	
</table>  



<!-- Fading Buttons -->
<table width="$stylevar[outertablewidth]"  border="0" cellspacing="0" cellpadding="0" align="center" style="background:#FFFFFF url($stylevar[imgdir_misc]/nav_buttons_bg.gif);">
 <tr>
    <!-- Register --><if condition="$show['registerbutton']"><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/register.gif);"><a href="register.php$session[sessionurl_q]" rel="nofollow"
		onmouseover="JSFX.fadeIn('register')"
		onmouseout="JSFX.fadeOut('register')"><img
		src="$stylevar[imgdir_misc]/register.gif" name="register"  width="78" height="39" border="0" class="imgFader" id="register" alt="" /></a></td>
      </tr>
    </table></td></if><!-- /Register -->
 <!-- UserCP --><if condition="$show['member']"><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/usercp.gif);"><a href="usercp.php$session[sessionurl_q]"
		onmouseover="JSFX.fadeIn('usercp')"
		onmouseout="JSFX.fadeOut('usercp')"><img
		src="$stylevar[imgdir_misc]/usercp.gif" name="usercp"  width="78" height="39" border="0" class="imgFader" id="usercp" alt="" /></a></td>
      </tr>
    </table></td></if><!-- /UserCp -->
$template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']">
<td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/projects.gif);"><a href="project.php$session[sessionurl_q]" 
		onmouseover="JSFX.fadeIn('projects')"
		onmouseout="JSFX.fadeOut('projects')"><img
		src="$stylevar[imgdir_misc]/projects.gif" name="projects"  width="78" height="39" border="0" class="imgFader" id="projects" alt="" /></a></td>
      </tr>
    </table></td>  
</if>

<if condition="$vbulletin->products['vbblog']"> 
<td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/blogs.gif);"><a href="blog.php$session[sessionurl_q]" 
		onmouseover="JSFX.fadeIn('blogs')"
		onmouseout="JSFX.fadeOut('blogs')"><img
		src="$stylevar[imgdir_misc]/blogs.gif" name="blogs"  width="78" height="39" border="0" class="imgFader" id="blogs" alt="" /></a></td>
      </tr>
    </table></td>  
</if>


    <!-- FAQ --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/faq.gif);"><a href="faq.php$session[sessionurl_q]" accesskey="5"
		onmouseover="JSFX.fadeIn('faq')"
		onmouseout="JSFX.fadeOut('faq')"><img
		src="$stylevar[imgdir_misc]/faq.gif" name="faq"  width="78" height="39" border="0" class="imgFader" id="faq" alt="" /></a></td>
      </tr>
    </table></td><!-- /FAQ -->
     <!-- Members --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/xmembers.gif);"><a href="memberlist.php$session[sessionurl_q]"
		onmouseover="JSFX.fadeIn('members')"
		onmouseout="JSFX.fadeOut('members')"><img

		src="$stylevar[imgdir_misc]/xmembers.gif" name="members"  width="78" height="39" border="0" class="imgFader" id="members" alt="" /></a></td>
      </tr>
    </table></td><!-- /Members -->
    <!-- Calendar --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/xcalendar.gif);"><a href="calendar.php$session[sessionurl_q]"
		onmouseover="JSFX.fadeIn('calendar')"
		onmouseout="JSFX.fadeOut('calendar')"><img
		src="$stylevar[imgdir_misc]/xcalendar.gif" name="calendar"  width="78" height="39" border="0" class="imgFader" id="calendar" alt="" /></a></td>
      </tr>
    </table></td><!-- /Calendar -->
    <if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				
	 <!-- New Posts --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/new_posts.gif);"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"
		onmouseover="JSFX.fadeIn('new')"
		onmouseout="JSFX.fadeOut('new')"><img
		src="$stylevar[imgdir_misc]/new_posts.gif" name="new"  width="78" height="39" border="0" class="imgFader" id="new" alt="" /></a></td>
      </tr>
    </table></td><!-- /New Posts -->
	<else />
	<!-- Daily --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/daily.gif);"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"
		onmouseover="JSFX.fadeIn('daily')"
		onmouseout="JSFX.fadeOut('daily')"><img
		src="$stylevar[imgdir_misc]/daily.gif" name="daily"  width="78" height="39" border="0" class="imgFader" id="daily" alt="" /></a></td>
      </tr>
    </table></td><!-- /Daily -->
	</if>
   <!-- Search --><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/search.gif);" id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"
		onmouseover="JSFX.fadeIn('search')"
		onmouseout="JSFX.fadeOut('search')"><img
		src="$stylevar[imgdir_misc]/search.gif" name="search"  width="78" height="39" border="0" class="imgFader" id="search" alt="" /></a><if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if></td>
      </tr>
    </table></td></if><!-- /Search -->
	<!-- Quick Links --><if condition="$show['member']"><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/links.gif);" id="usercptools"><a href="$show[nojs_link]#usercptools"
		onmouseover="JSFX.fadeIn('links')"
		onmouseout="JSFX.fadeOut('links')"><img
		src="$stylevar[imgdir_misc]/links.gif" name="links"  width="78" height="39" border="0" class="imgFader" id="links" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>
      </tr>
    </table></td></if><!-- /Quick Links --></if>
    <!-- Log Out --><if condition="$show['member']"><td width="78"><table width="78"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background:#FFFFFF url($stylevar[imgdir_misc]/logout.gif);"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"
		onmouseover="JSFX.fadeIn('logout')"
		onmouseout="JSFX.fadeOut('logout')"><img
		src="$stylevar[imgdir_misc]/logout.gif" name="logout"  width="78" height="39" border="0" class="imgFader" id="logout" alt="" /></a></td>
      </tr>
    </table></td></if>
$template_hook[navbar_buttons_right]
<!-- /Log Out -->
    <td width="100%" align="right" style="background:#FFFFFF url($stylevar[imgdir_misc]/nav_buttons_bg.gif);"><img src="$stylevar[imgdir_misc]/nav_buttons_bg.gif" width="9" height="39" alt="" /></td>
  </tr>
  
</table>
<!-- /Fading Buttons -->




$spacer_open

$_phpinclude_output





$ad_location[ad_header_end]
 
Back
Top