![]() |
|
Article Options |
#46
|
|||
|
|||
I've used this....
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align = "center" > <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if> <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please Visit Our Sponsors Here</a></td></if> <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here </a></td></if> </tr> </table> </div> <!-- / Navbar Links --> And the links in the navbar don't showup centered properly. I tried adding spaces, but this resulted in a line showing to the left of the link where the spaces are when hovering over the link. I need to be able to set the links in their proper position. ![]() No members have liked this post.
|
#47
|
||||
|
||||
Your html is totally incorrect. For every <td>, you need a </td>. And, you don't put <td> inside another <td> which is what you are doing.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#48
|
|||
|
|||
I changed it to this and it still does the same thing.
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align = "center" > <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please Visit Our Sponsors Here</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here</a></td></if> </tr> </table> </div> <!-- / Navbar Links --> No members have liked this post.
|
#49
|
||||
|
||||
You are never going to get them perfectly centered unless you apply something to set the width of the columns and then center the words in those columns. All three of those links only show to members, so why not have the whole table in the condition and then set the width of each column to 33% and center the text in each column?
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#50
|
|||
|
|||
sounds like a plan..... I'll have to do some hunting in order to figure out how to do the column widths as I'm fairly new to html. Unless you'd be gracious enough to give me an example?
--------------- Added 10 Oct 2009 at 23:50 --------------- I figured out how to size the columns. Thank you for your help!!!! No members have liked this post.
Last edited by Hawk7173; 10 Oct 2009 at 23:50. Reason: Auto-Merged DoublePost |
#51
|
|||
|
|||
i have vb 4 i was was able to add links easily but when i tried to find
<if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> i could not find it in any template, are there any ideas you might have to help me. No members have liked this post.
|
#52
|
||||
|
||||
No problem, bit of time has passed now but glad you found it useful.
.Me --------------- Added 17 Jul 2012 at 11:25 ---------------
Originally Posted by iannurse
If you upgrade to vB 4.2 you will find it now comes with a Navigation Manager. I dont need a second Nav Bar at the momment but could look into how to do it for 4.2 if people request it enough.![]()
.Me
__________________
My Blog: Lee Roberts.me My Mods: vBMQN - Moderation Queue Notifications, vBUT - User Group User Titles & Custom User Titles No members have liked this post.
|
![]() |
![]() |
||||
Article | Author | Type | Replies | Last Post |
Additional Navbar 3.5.3 and up | attroll | vBulletin 3.5 Template Modifications | 91 | 26 Dec 2007 02:12 |
Additional Navbar | attroll | vBulletin 3.0 Full Releases | 235 | 24 Feb 2006 04:51 |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:55.