Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2009, 06:12 PM
mattfox27 mattfox27 is offline
 
Join Date: Jul 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Header and NavBar Question????

I'm using a custom graphic in my forums with an html navbar but there is a gap between my buttons and my graphic, the forums can be seen here... http://forums.centurystudio.com

Here is the code i put into the style manger header area...

Quote:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://forums.centurystudio.com/cscheader.jpg" border="0" alt="$vboptions[bbtitle]" /><!-- Begin NavBar -->
<link href="cscnavbar-files/styles_xfaq1.css" type="text/css" rel="stylesheet"/>
<style>A#vbUL_xfaq1a{display:none}</style>
<ul id="vbUL_lfaq1" class="vbULxfaq1" style="visibility:hidden;">
<li><a href="http://www.centurystudio.com/about.htm" title="About Us">About&nbsp;Us</a></li>
<li><a title="Clients">Clients</a><img src="cscnavbar-files/arxfaq1.png"/>
<ul id="vbUL_gfaq1" class="vbULxfaq1">
<li><a href="http://www.centurystudio.com/film.htm" title="Film & Television">Film&nbsp;&&nbsp;Television</a></li>
<li><a href="http://www.centurystudio.com/commercial.htm" title="Commercials">Commercials</a></li>
<li><a href="http://www.centurystudio.com/musicvids.htm" title="Music Videos">Music&nbsp;Videos</a></li>
<li><a href="http://www.centurystudio.com/otherclient.htm" title="Other Clients">Other&nbsp;Clients</a></li></ul></li></ul>
<ul id="vbUL_nfaq1" class="vbULxfaq1" style="visibility:hidden;">
<li><a href="http://www.centurystudio.com/3322.htm" title="Stage 1 & 2">Stage&nbsp;1&nbsp;&&nbsp;2</a></li>
<li><a href="http://www.centurystudio.com/8660.htm" title="Stage 3,4,5,6,7">Stage&nbsp;3,4,5,6,7</a></li>
<li><a href="http://www.centurystudio.com/8635.htm" title="Stage 8 & 9">Stage&nbsp;8&nbsp;&&nbsp;9</a></li></ul>
<script type="text/javascript"> var vbImgPath="cscnavbar-files/"</script>
<script type="text/javascript" src="cscnavbar-files/scxfaq1.js"></script>
<table id="vista-buttons.com:idxfaq1" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Home">
<a href="http://www.centurystudio.com" onmouseover='xpe("xfaq1o");' onmouseout='xpe("xfaq1n");'><img id="xpi_xfaq1" src="cscnavbar-files/btxfaq1_0.png" name="vbxfaq1" width="100" height="25" border="0" alt="Home"/></a></td><td style="padding-right:0px" title ="About Us">
<a href="http://www.centurystudio.com/about.htm" onmouseover='xpe("lfaq1o");xpshow("lfaq1",0,this); xpsmover(this);' onmouseout='xpsmout(this);'><img id="xpi_lfaq1" src="cscnavbar-files/btlfaq1_0.png" name="vblfaq1" width="100" height="25" border="0" alt="About Us"/></a></td><td style="padding-right:0px" title ="Contact Us">
<a href="http://www.centurystudio.com/contact.htm" onmouseover='xpe("bfaq1o");' onmouseout='xpe("bfaq1n");'><img id="xpi_bfaq1" src="cscnavbar-files/btbfaq1_0.png" name="vbbfaq1" width="100" height="25" border="0" alt="Contact Us"/></a></td><td style="padding-right:0px" title ="Stages">
<a href="http://www.centurystudio.com/stages.htm" onmouseover='xpe("ffaq1o");' onmouseout='xpe("ffaq1n");'><img id="xpi_ffaq1" src="cscnavbar-files/btffaq1_0.png" name="vbffaq1" width="100" height="25" border="0" alt="Stages"/></a></td><td style="padding-right:0px" title ="Facilities">
<a onmouseover='xpe("nfaq1o");xpshow("nfaq1",0,this); xpsmover(this);' onmouseout='xpsmout(this);'><img id="xpi_nfaq1" src="cscnavbar-files/btnfaq1_0.png" name="vbnfaq1" width="100" height="25" border="0" alt="Facilities"/></a></td><td style="padding-right:0px" title ="Specials">
<a href="http://www.centurystudio.com/specials.htm" onmouseover='xpe("hfaq1o");' onmouseout='xpe("hfaq1n");'><img id="xpi_hfaq1" src="cscnavbar-files/bthfaq1_0.png" name="vbhfaq1" width="100" height="25" border="0" alt="Specials"/></a></td><td style="padding-right:0px" title ="Equipment">
<a href="http://www.centurystudio.com/equipment.htm" onmouseover='xpe("jfaq1o");' onmouseout='xpe("jfaq1n");'><img id="xpi_jfaq1" src="cscnavbar-files/btjfaq1_0.png" name="vbjfaq1" width="100" height="25" border="0" alt="Equipment"/></a></td><td style="padding-right:0px" title ="Forums">
<a href="http://forums.centurystudio.com" onmouseover='xpe("kfaq1o");' onmouseout='xpe("kfaq1n");'><img id="xpi_kfaq1" src="cscnavbar-files/btkfaq1_0.png" name="vbkfaq1" width="100" height="25" border="0" alt="Forums"/></a></td></tr></table>
<a id="vbUL_xfaq1a" href="http://vista-buttons.com">Html Menu by Vista-Buttons.com v4.3.0</a>
<!-- End NavBar -->


<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if>
</td>
</tr>

</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #2  
Old 09-18-2009, 03:03 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try adding an empty cell to the end of the table

HTML Code:
<td>&nbsp;</td>
Reply With Quote
  #3  
Old 09-18-2009, 05:16 PM
mattfox27 mattfox27 is offline
 
Join Date: Jul 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, it didn't work...
Reply With Quote
  #4  
Old 09-19-2009, 08:33 PM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like your CSS . Like your padding. I would adjust it. It has 2px. I can not see all your CSS but i seen it was in your cscnavbar-files/styles_xfaq1.css. Are you trying to take the space away or add ?
Reply With Quote
  #5  
Old 09-20-2009, 12:54 PM
mattfox27 mattfox27 is offline
 
Join Date: Jul 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to get rid of that space between the dhtml buttons and the header...what would i change, im new to html ect...
Reply With Quote
  #6  
Old 09-20-2009, 01:34 PM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at your /styles_xfaq1.css. That contains padding. Since i can not view it all to check. I would start there ...where padding is 2px. Change lower.
Reply With Quote
  #7  
Old 09-20-2009, 02:41 PM
mattfox27 mattfox27 is offline
 
Join Date: Jul 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i see...whats weird is on my main website, when i use the same dhtml code for the buttons it doesn't have that gap. www.centurystudio.com
i will try changing the padding and see what happens....
Reply With Quote
  #8  
Old 09-20-2009, 03:21 PM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay keep us posted. Also i took a look and seen in your body you have 5 px. You might want to change that to zero. That will put it flush with the top without your banner.
Reply With Quote
  #9  
Old 09-20-2009, 04:26 PM
mattfox27 mattfox27 is offline
 
Join Date: Jul 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the body on the forums?

--------------- Added [DATE]1253470289[/DATE] at [TIME]1253470289[/TIME] ---------------

It didn't work...changing the padding in the CSS
Reply With Quote
  #10  
Old 09-20-2009, 05:16 PM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm i would actually need access to find out what the real issue is. Yes the body , it is located in the CSS also or admincp of vbulletin.
Reply With Quote
Reply


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 08:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09920 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete