Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #46  
Old 10 Oct 2009, 18:03
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
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.

Reply With Quote
  #47  
Old 10 Oct 2009, 18:40
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
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.)
Reply With Quote
  #48  
Old 10 Oct 2009, 19:26
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
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 -->
Reply With Quote
  #49  
Old 10 Oct 2009, 22:54
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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?
__________________
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.)
Reply With Quote
  #50  
Old 10 Oct 2009, 23:13
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
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!!!!

Last edited by Hawk7173; 10 Oct 2009 at 23:50. Reason: Auto-Merged DoublePost
Reply With Quote
  #51  
Old 06 Jul 2010, 11:20
iannurse iannurse is offline
 
Join Date: Jun 2010
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&amp;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.
Reply With Quote
  #52  
Old 17 Jul 2012, 11:22
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
Originally Posted by Kel-D View Post
Works perfectly! Thanks mate!
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 View Post
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&amp;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.
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
Reply With Quote
Reply

Similar Article
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



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 02:38.

Layout Options | Width: Wide Color: