The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
navbar annoyance
Forumhome : the navigational links below the quote of the day box: (see attached "good" file)
This is fine. Notice it is vertically centered. Now, the below ("bad" file) (example of any place you go but forumhome) shows it this way (notice the extra break) That portion code from navbar is this: Code:
<div align="center"> <table border="0" width="99%" id="table2" cellspacing="0" cellpadding="0"> <tr> <td class="alt5" colspan="3" style="border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; " height="5"> </td> </tr> <tr> <td class="alt1" align="left" style="border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; "> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0" id="table3"> <tr valign="bottom"> <td> <a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%" height="25"><span class="navbar"> <a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"> $vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"> <a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"> <a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div></if> </td> <if condition="$bbuserinfo['userid']"> <td id="navbar_search" height="35" width="105" bgcolor="#F5F5FF" style="border-left:1px solid #FFFFFF; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; "><b> <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" style="text-decoration: none"> <img src="http://talkjesus.com/images/search2.gif" border="0"></a></b> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td> <td id="navbar_search" height="35" bgcolor="#F5F5FF" width="25" style="border-right: 1px solid #E1E4F2; border-top: 1px solid #E1E4F2; border-bottom: 1px solid #E1E4F2; "> <div class="smallfont"> <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()" style="text-decoration: none; font-weight:700"> <center> <img border="0" src="http://talkjesus.com/images/menu/exit.gif" width="16" height="16" alt="Logout"></a></div></center> </td></if> </tr> </table> </div> <div align="center"> <table border="0" width="99%" id="table4" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="5"> </td> </tr> </table> </div> <!-- / breadcrumb, login, pm info --> |
#2
|
||||
|
||||
As long as you haven't made any changes to your navbar since you made this post, you can replace it with this:
Code:
<div align="center"> <table border="0" width="99%" id="table2" cellspacing="0" cellpadding="0"> <tr> <td class="alt5" colspan="3" style="border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; " height="5"> </td> </tr> <tr> <td class="alt1" align="left" style="border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; "> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0" id="table3"> <tr> <td> <a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"> <a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"> $vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"> <a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"> <a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div></if> </td> <if condition="$bbuserinfo['userid']"> <td id="navbar_search" height="35" width="105" bgcolor="#F5F5FF" style="border-left:1px solid #FFFFFF; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; "><b> <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" style="text-decoration: none"> <img src="http://talkjesus.com/images/search2.gif" border="0"></a></b> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td> <td id="navbar_search" height="35" bgcolor="#F5F5FF" width="25" style="border-right: 1px solid #E1E4F2; border-top: 1px solid #E1E4F2; border-bottom: 1px solid #E1E4F2; "> <div class="smallfont"> <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()" style="text-decoration: none; font-weight:700"> <center> <img border="0" src="http://talkjesus.com/images/menu/exit.gif" width="16" height="16" alt="Logout"></a></div></center> </td></if> </tr> </table> </div> <div align="center"> <table border="0" width="99%" id="table4" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="5"> </td> </tr> </table> </div> <!-- / breadcrumb, login, pm info --> |
#3
|
||||
|
||||
Hate to say it, but your method wiped out the first half of my navbar
|
#4
|
||||
|
||||
In your second screenshot, are you trying to vertically-align it centered?
|
#5
|
||||
|
||||
Ohhh. You were only showing one part of your navigation bar? I must have read that wrong. I am so sorry. In any case, is the alignment better? =D
|
#6
|
||||
|
||||
I want it vertically centered, remaing left aligned horizontally.
I posted the entire navbar for you originally |
#7
|
||||
|
||||
That's what I did. O_o This is a screenshot of what that navbar that I gave you looks like for me in comparison to yours now.
|
#8
|
||||
|
||||
Well, the natural behavior of row vertical-aligns itself centered. Yarub had the right edit. You may have removed:
Code:
<tr valign="bottom"> Code:
<tr> |
#9
|
||||
|
||||
Truthfully, I don't like the way it's designed. They're using two seperate rows for the beginning of the bits and the end of the bits (the location you're viewing). Makes things more complicating. =P
|
#10
|
||||
|
||||
I agree and that's why I re-designed mine. I also didn't like the fact that the forum title showed when there was no reason for it to exist. So I swapped it with a introductory text and only when a user clicks on a subsequent page the breadcrumb links show up.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|