1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need a CSS expert please...

Discussion in 'Bits & Bytes' started by Biker, Jun 23, 2005.

  1. Biker

    Biker Administrator Staff Member

    I'm lazy. So is my scroll finger. So I'm attempting to place the menu bar at the bottom of each page in the footer as well. But it currently looks like doo-doo. What do I need to change here to make it like the one at the top of the page?

    PHP:
    <!--Attempt to place menu bar in footer -->
    <
    table width="$stylevar[outertablewidth]"  align="center" border="0" cellspacing="0" cellpadding="0">
    <
    tr>
    <
    td width="15" background="$stylevar[imgdir_misc]/left.gif"><img src="$stylevar[imgdir_misc]/left.gif" width="15"  border="0" alt="" /></td>
    <
    td width="100%">

    <
    table width="100%"  border="0" cellspacing="0" cellpadding="0" align="center" background="$stylevar[imgdir_misc]/nav_bg3.gif">
    <
    tr>
    <
    td colspan="11"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <
    tr>
    <
    td><!-- logo --><a href="$vboptions[forumhome].php?$session[sessionurl]"><!-- /logo --></td>
    <
    td width="100%"> </td>
    </
    tr>
    </
    table>
    </
    td>
    </
    tr>
    <
    tr>
    <!-- *** 
    Start Register *** --><if condition="$show['registerbutton']"><td width="39"><!-- *** Start Register *** --><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/register.gif"><A HREF="register.php?$session[sessionurl]"
    onMouseOver="JSFX.fadeIn('register')"
    onMouseOut="JSFX.fadeOut('register')"><img name="register" class="imgFader"
    src="$stylevar[imgdir_misc]/register.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td></if><!-- *** End Register *** -->
    <!-- *** 
    Start User CP *** --><if condition="$show['member']"><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/usercp.gif"><A HREF="usercp.php?$session[sessionurl]"
    onMouseOver="JSFX.fadeIn('usercp')"
    onMouseOut="JSFX.fadeOut('usercp')"><img name="usercp" class="imgFader"
    src="$stylevar[imgdir_misc]/usercp.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td></if><!-- *** End User Cp *** -->
    <!-- *** 
    Start FAQ *** --><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/faq.gif"><A HREF="faq.php?$session[sessionurl]"
    onMouseOver="JSFX.fadeIn('faq')"
    onMouseOut="JSFX.fadeOut('faq')"><img name="faq" class="imgFader"
    src="$stylevar[imgdir_misc]/faq.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td><!-- *** End FAQ *** -->
    <!-- *** 
    Start Members *** --><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/xmembers.gif"><A HREF="memberlist.php?$session[sessionurl]"
    onMouseOver="JSFX.fadeIn('members')"
    onMouseOut="JSFX.fadeOut('members')"><img name="members" class="imgFader"
    src="$stylevar[imgdir_misc]/xmembers.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td><!-- *** End Members *** -->
    <!-- *** 
    Start Calendar *** --><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/xcalendar.gif"><A HREF="calendar.php?$session[sessionurl]"
    onMouseOver="JSFX.fadeIn('calendar')"
    onMouseOut="JSFX.fadeOut('calendar')"><img name="calendar" class="imgFader"
    src="$stylevar[imgdir_misc]/xcalendar.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td><!-- *** End Calendar *** -->
    <if 
    condition="$show['popups']">        
    <if 
    condition="$show['searchbuttons']">

    <!-- *** 
    Start New Posts *** --><if condition="$show['member']"><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$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 name="new" class="imgFader"
    src="$stylevar[imgdir_misc]/new_posts.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td><else /><!-- *** End New Posts *** -->

    <!-- *** 
    Start Daily *** --><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/daily.gif"><A HREF="search.php?$session[sessionurl]do=getdaily" accesskey="2"
    onMouseOver="JSFX.fadeIn('daily')"
    onMouseOut="JSFX.fadeOut('daily')"><img name="daily" class="imgFader"
    src="$stylevar[imgdir_misc]/daily.gif"  width="78" height="39" border="0"></A></td>
    </
    tr>
    </
    table></td></if><!-- *** End Daily *** -->

    <!-- *** 
    Start Search *** --><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td background="$stylevar[imgdir_misc]/search.gif" id="navbar_search"><A HREF="search.php?$session[sessionurl]accesskey="4"
    onMouseOver="JSFX.fadeIn('search')"
    onMouseOut="JSFX.fadeOut('search')"><img name="search" class="imgFader"
    src="$stylevar[imgdir_misc]/search.gif"  width="78" height="39" border="0"></A><script type="text/javascript"vbmenu_register("navbar_search"1); </script></td>
    </tr>
    </table></td></if><!-- *** End Search *** -->
    <!-- *** Start Quick Links *** --><if condition="$bbuserinfo['userid']"><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td background="$stylevar[imgdir_misc]/links.gif" id="usercptools"><A HREF="#usercptools"
    onMouseOver="JSFX.fadeIn('links')"
    onMouseOut="JSFX.fadeOut('links')"><img name="links" class="imgFader"
    src="$stylevar[imgdir_misc]/links.gif"  width="78" height="39" border="0"></A><script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>
    </tr>
    </table></td></if><!-- *** End Quick Links *** --></if>
    <!-- *** Start Log Out *** --><if condition="$bbuserinfo['userid']"><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td background="$stylevar[imgdir_misc]/logout.gif"><A HREF="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()"
    onMouseOver="JSFX.fadeIn('logout')"
    onMouseOut="JSFX.fadeOut('logout')"><img name="logout" class="imgFader"
    src="$stylevar[imgdir_misc]/logout.gif"  width="78" height="39" border="0"></A></td>
    </tr>
    </table></td></if><!-- *** End Log Out *** -->
    <td width="100%" background="$stylevar[imgdir_misc]/nav_buttons_bg.gif"><img src="$stylevar[imgdir_misc]/nav_buttons_bg.gif" width="9" height="39" /></td>
    </tr>

    </table>

    <if condition="$show['popups']">
    <!-- NAVBAR POPUP MENUS -->

    <if condition="$show['searchbuttons']">
    <!-- header quick search form -->
    <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr>
    <td class="thead">$vbphrase[search_forums]</td>
    </tr>
    <tr>
    <td class="vbmenu_option" title="nohilite">
    <form action="search.php" method="post">
    <input type="hidden" name="do" value="process" />
    <input type="hidden" name="showposts" value="0" />
    <input type="text" class="bginput" name="query" size="20" />$gobutton

    </form>
    </td>
    </tr>
    <tr>
    <td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
    </tr>
    </table>
    </div>
    <!-- / header quick search form -->
    </if>

    <if condition="$show['member']">
    <!-- user cp tools menu -->
    <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">

    <tr><td class="thead">$vbphrase[quick_links]</td></tr>        
    <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
    <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
    <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

    <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
    <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
    <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

    <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
    <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
    <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
    <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
    <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

    </table>
    </div>
    <!-- / user cp tools menu -->
    </if>
    <!-- / NAVBAR POPUP MENUS -->
    </if>

    <!-- content table -->
    $spacer_open

    $_phpinclude_output





    <!-- end Menu attempt -->


    <div class="smallfont" align="center">
    <!-- Do not remove this copyright notice -->
    $vbphrase[powered_by_vbulletin]

    Style Design By: <a href="http://www.vbstyles.com" target="_blank">vBStyles.com</a>
    <!-- Do not remove this copyright notice -->
    </div>

    <div class="smallfont" align="center">
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    $cronimage
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

    $vboptions[copyrighttext]
    </div>







    $spacer_close
    <!-- /content area table -->

    <form action="$vboptions[forumhome].php" method="get">

    <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page" align="center">
    <tr>
    <if condition="$show['quickchooser']">
    <td class="tfoot">
    <select name="styleid" id="ressel" onchange="switch_styleid(this)">
    <optgroup label="$vbphrase[quick_style_chooser]">
    $quickchooserbits
    </optgroup>
    </select>
    </td>
    </if>
    <td class="tfoot" align="$stylevar[right]">
    <div class="smallfont">
    <strong>
    <a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> -
    <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
    <if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if>
    <if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
    <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
    <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
    <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
    </strong>
    </div>
    </td>
    </tr>
    </table>



    </form>




    <if condition="$show['dst_correction']">
    <!-- auto DST correction code -->
    <form action="profile.php" method="post" name="dstform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="dst" />
    </form>
    <script type="text/javascript">
    <!--
    var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var utcOffset = new Date().getTimezoneOffset() / 60;
    if (Math.abs(tzOffset + utcOffset) == 1)
    {    // Dst offset is 1 so its changed
    document.forms.dstform.submit();
    }
    //-->
    </script>
    <!--
    // ++=========================================================================++
    // || Aria Skin v3.0.6
    // ||  2003-2005 vBStylescom & BBStyles.com - All Rights Reserved
    // || This file may not be redistributed in whole or significant part.
    // || http://vbstyles.com
    // || Downloaded 15:50, Tue Feb 15th 2005 - 1740
    // || 3105370_091740076324
    // ++ ========================================================================++
    -->

    </if>
    <script type="text/javascript">
    <!--
    // Main vBulletin Javascript Initialization
    vBulletin_init();

    // Initialize 'Active' Table Cells
    //activecells_init();
    //-->
    </script>

    </td>
    <td width="15" background="$stylevar[imgdir_misc]/right.gif"><img src="$stylevar[imgdir_misc]/right.gif" width="15"  border="0" alt="" /></td>
    </tr>
    </table>
     

Share This Page