View Full Version : A Annoying Space
Grandmaster
Tue 20th Feb '01, 2:28pm
Hello.
At my soon to be released for @ www.graphic-forums.com, below the logo, and right above the "Graphic-Forums Community" text there is a space, between the two tables. I Dug threw the header code a 100 times and I cant find anything wrong with it.
Ive checked the cell padding and spacing a million times too. Any ideas about the problem?
Freddie Bingham
Tue 20th Feb '01, 2:33pm
Remove this sort of stuff from between your table attributes:
<tr>
<!-- logo and buttons -->
<td>
becomes
<tr><td>
Also remove spaces, etc from between your table attributes...
Grandmaster
Tue 20th Feb '01, 2:41pm
Here's what I removed: <!-- /logo and buttons -->
<!-- content table -->
But it still has that space. Heres my header code as it is now.
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td background="images/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="images/vBulletin_logo.gif" border="0"></a>
</td>
<td align="right" background="images/menu_background.gif"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="36"><A HREF="register.php?s=$session[sessionhash]&action=signup"><img src="http://www.graphic-forums.com/images/top_register.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="usercp.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_profile.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="calendar.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_calendar.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="memberlist.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_members.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="index.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_home.gif" border="0"></a><br><img src="http://www.graphic-forums.com/images/pixel.gif" width="1" height="3"><br><img src="http://www.graphic-forums.com/images/top_chat.gif" border="0"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="search.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_search.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="misc.php?s=$session[sessionhash]&action=faq"><img src="http://www.graphic-forums.com/images/top_faq.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><img src="http://www.graphic-forums.com/images/top_partners.gif" border="0"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><img src="http://www.graphic-forums.com/images/top_contact.gif" border="0"></td>
<td width="10" background="images/menu_background.gif"> </td>
</tr>
</table>
<table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td>
Any help is appreciated.
Freddie Bingham
Tue 20th Feb '01, 3:01pm
Try this:
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td background="images/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="images/vBulletin_logo.gif" border="0"></a></td>
<td align="right" background="images/menu_background.gif"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="36"><A HREF="register.php?s=$session[sessionhash]&action=signup"><img src="http://www.graphic-forums.com/images/top_register.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="usercp.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_profile.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="calendar.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_calendar.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="memberlist.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_members.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="index.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_home.gif" border="0"></a><br><img src="http://www.graphic-forums.com/images/pixel.gif" width="1" height="3"><br><img src="http://www.graphic-forums.com/images/top_chat.gif" border="0"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="search.php?s=$session[sessionhash]"><img src="http://www.graphic-forums.com/images/top_search.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><A HREF="misc.php?s=$session[sessionhash]&action=faq"><img src="http://www.graphic-forums.com/images/top_faq.gif" border="0"></a><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><img src="http://www.graphic-forums.com/images/top_partners.gif" border="0"><img src="http://www.graphic-forums.com/images/pixel.gif" width="5" height="1"><img src="http://www.graphic-forums.com/images/top_contact.gif" border="0"></td>
<td width="10" background="images/menu_background.gif"> </td></tr></table>
<table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td>
Grandmaster
Tue 20th Feb '01, 3:27pm
Hello!
Yes, With your code, It worked. I had to modify it a little. Had to change <img src="images/vBulletin_logo.gif" border="0"> to < img src=" { titleimage } " border="0" >.
Thanks for your help.! Much appreciated.
gbutcher
Fri 20th Sep '02, 6:17pm
I was having the same spacing problem - and couldn't work out why, I did a search on this site - and found this thread. The page I was trying to sort out is here:
http://www.mazdarotaryclub.com/forums/showthread.php?threadid=46
All perfect now.
MANY THANKS!
REgards,
Glenn Butcher
www.mazdarotaryclub.com
chrisvonc
Wed 16th Jul '03, 10:21am
Hi,
I'm getting in here a little late but will this also tighten the space between the botton of the navbar and the "Welcome back XXXX" text on the right as well?
Thanks
Chris
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.