Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 05-17-2010, 02:17 PM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default a line accross the navbar

on the default style....there's a thin line that runs right above my navbar. It only shows up in FF and Chrome, not in IE. It annoys the he11 out of me.

Can anyone suggest a solution? I can post my navbar code if needed. I moved my navbar code into my header section for a style I want.

help?

If anyone is using FF can you take a look at it.

www.tunemytoyota.com above the navbar, under the header logo.
Reply With Quote
  #2  
Old 05-17-2010, 02:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your html is incorrect in that area - and notice the <if> tag:
HTML Code:
<div align="center">
<table width="980" border="0" align="center" height="20" cellpadding="0" cellspacing="0" class="border">
<tr>	
	<table width="100%" border="0" cellpadding="0" cellspacing="0">

	<tr>

<!-- nav buttons bar --><div class="tborder" style="padding:1px; border-top-width:0px">
	<table cellpadding="0" cellspacing="0" border="1" width="990" tr align="center">
<td class="vbmenu_control"><a href="http://www.tunemytoyota.com">Home</a></td>
<td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/index.php">Forums</a></td>		
		<if>
		
			<td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/register.php?" rel="nofollow">Register</a></td>
		
		<!-- PayPal Donations --><td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/billspaypal.php?">Donate</a></td>		
		
		</tr>

	</table>
</div>
Reply With Quote
  #3  
Old 05-19-2010, 02:26 AM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sooo.....all I have to do is remove that IF tag? :-D of change it to </if>
Reply With Quote
  #4  
Old 05-19-2010, 03:15 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, that isn't all you have to do. Look at that code between the <div> and </div>. You have two <table> tags, but only one </table>. As I said above - your html is incorrect in that area. You need to correct it. AND you have an <if> in there. It could be it just needs to change to a </if> and everything will be fixed, but I have no idea.
Reply With Quote
  #5  
Old 05-19-2010, 03:37 PM
jamesyfx jamesyfx is offline
 
Join Date: Jan 2005
Location: Manchester, UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The actual line is caused by your div

HTML Code:
<div class="tborder" style="padding:1px; border-top-width:0px">
But I would vouch to re-write your code so it has no errors and follows the design of the standard vBulletin 3 theme, like this:

HTML Code:
<table width="980" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder">
<tr>	
    <td class="vbmenu_control"><a href="http://www.tunemytoyota.com">Home</a></td>
    <td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/index.php">Forums</a></td>		
<if condition="$show['registerbutton']">
    <td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/register.php?" rel="nofollow">Register</a></td>
</if>
<!-- PayPal Donations -->
    <td class="vbmenu_control"><a href="http://www.tunemytoyota.com/forum/billspaypal.php?">Donate</a></td>		
</tr>
</table>
I assumed that broken <if> was for the register button. I've fixed that also.

Hope this is what you were looking for.
Reply With Quote
  #6  
Old 05-20-2010, 02:18 AM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ I don't understand. If I put that i there, it will throw off the order of my navbar. There's no usercp there.... sorry I don't get it. It shows up fine on IE. So how can I just get rid of that line?

sorry....I know this is prolly easy for you guys but i'm not getting why it's showing up in FF and not IE.
Reply With Quote
  #7  
Old 05-20-2010, 12:40 PM
jamesyfx jamesyfx is offline
 
Join Date: Jan 2005
Location: Manchester, UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason it's showing up in Firefox is because your code is bad, but the line is caused by the <div> you have on there. Since it doesn't close, you could just delete that.

Since I'm a guest to your site I only see the first couple of links, if you want to use the proper code then you could just re-add the missing links.
Reply With Quote
  #8  
Old 05-23-2010, 03:37 AM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all right i'm gonna give this a shot 2moro. I'll let cha know how it goes!
Reply With Quote
  #9  
Old 05-25-2010, 09:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for your info, the line is there in Chrome as well.
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04568 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete