Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-30-2006, 05:03 PM
Guest210212002
Guest
 
Posts: n/a
Default Remove spacing between header and navbar?

I've looked around, and I've pulled the extra break out, as well as putting "margin-top:0px;" in the CSS body of this style, but this gap remains between the buttons and the navbar:



Site: http://www.sevenstring.org

I'm not sure what I'm missing/doing wrong to get that space out of there so that the buttons, which are in the header, sit flush on top of the navbar. Any insight would be appreciated. Thanks!

Edit: Blargh, this should probably be in the design forum.
Reply With Quote
  #2  
Old 11-30-2006, 05:22 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe try removing this one br i found?

Code:
<!-- /nav buttons bar -->

<br> 



<!-- NAVBAR POPUP MENUS -->
Reply With Quote
  #3  
Old 11-30-2006, 05:31 PM
Guest210212002
Guest
 
Posts: n/a
Default

Nah, that's well below where I'm tryin' to strip it - thanks though. I have a view source opened up in HTML-Kit and I'm snipping everything out of it, but I still can't find what's making the space.

[high]* Guest210212002 goes insane
[/high]

Code:
</table>
<div align="center">
 <div class="page" style="width:95%; text-align:left">
  <div style="padding:0px 0px 0px 0px">


<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="3" cellspacing="1" border="0" width="100%" align="center">

That code there is causing it - it seems like it's forcing the space, because one table ends and another starts. I'm just not sure how I can get around it.
Reply With Quote
  #4  
Old 11-30-2006, 05:52 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm playing with it also.

Do this

Change your border to 1 on the table. You get the alignment. Strange..... the images appear to be flat to the bottom too.

Or get rid of the header all together - you flush to the top of the page. HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
Reply With Quote
  #5  
Old 11-30-2006, 06:10 PM
Guest210212002
Guest
 
Posts: n/a
Default

Here's the super slimmed down code version:

Code:
<head>
<style type="text/css" id="vbulletin_css">
<!--
/* vBulletin 3 CSS For Style 'Sevenstring.org' (styleid: 2) */
body
{
	background: #000000 url(http://www.sevenstring.org/forum/images/back.gif) repeat;
	
}

.alt1, .alt1Active
{
	background: #333333;
	color: #CCCCCC;
	font: verdana
}
.alt2, .alt2Active
{
	background: #555555;
	color: #CCCCCC;
	font-size: 12px;
}

-->
</style>

<!-- / CSS Stylesheet -->


</head>
<body>
<table border="0" height="42" width="95%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left"><a href="index.php"><img src="http://www.sevenstring.org/forum/images/navigation/chatbutton.gif" border="0" alt="Sevenstring.org" /></a></td>
<td align="right">
<a href="http://www.sevenstring.org/forum/view.php?pg=chat"><img border="0" src="http://www.sevenstring.org/forum/images/navigation/chatbutton.gif" alt="Chat Room" /></a>
<a href="http://www.sevenstring.org/forum/guitar.php?do=main"><img border="0" src="http://www.sevenstring.org/forum/images/navigation/registrybutton.gif" alt="Sevenstring Registry" /></a>
<a href="http://www.sevenstring.org/forum/view.php?pg=donate"><img border="0" src="http://www.sevenstring.org/forum/images/navigation/supportbutton.gif" alt="Support Us" /></a></td>
</tr></table>
<table width="95%" align="center">
<tr>	<td class="alt1" width="100%">
<img src="http://www.sevenstring.org/forum/images/misc/navbits_square.gif" alt="" border="0" /></a> Sevenstring.org</div>
</td>
<td bgcolor="#333333" valign="top" nowrap="nowrap">pm inbox		</td></tr></table>
That's just me ripping things out and seeing if it still does it, and it does.

lol, this is drivin' me nuts.

Quote:
Originally Posted by ZacUSNYR View Post
I'm playing with it also.

Do this

Change your border to 1 on the table. You get the alignment. Strange..... the images appear to be flat to the bottom too.
Ok, that's even wierder.

Here's no borders:



And with border="1"



Edit: Actually, the gap's still there. Hrm.
Reply With Quote
  #6  
Old 11-30-2006, 06:20 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes but the gap between the border and the images should not be there - I know the images look right - but lets re-cut them and try it.
Reply With Quote
  #7  
Old 11-30-2006, 06:25 PM
Guest210212002
Guest
 
Posts: n/a
Default

Here's a plain old white image in it's place, there's definitely a gap:

Reply With Quote
  #8  
Old 11-30-2006, 06:30 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea I see it. Don't understand it it though.
Reply With Quote
  #9  
Old 12-01-2006, 06:37 PM
Guest210212002
Guest
 
Posts: n/a
Default

I got this figured out. It ended up being a problem with the image size - I'm not sure if they were too big or too small, but farting around with sizing made them line up:



Now I just need some semblance of photoshop talent.
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:54 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.04463 seconds
  • Memory Usage 2,227KB
  • 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_code
  • (1)bbcode_quote
  • (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
  • (4)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete