View Full Version : how to close the gap between the forums
gbox master
09-05-2008, 07:13 PM
i have a small gap between the forums and i am searching for the setting
there must be a template where i can edit this i hope
maybe some one can direct me in a direction for this ?
see the screenshot and you will see the gap between the forums
there is a red line at the top midle and on the right and left
i would really like then to be in one line
and also close all the gaps between the rest of the forums
Lynne
09-05-2008, 07:36 PM
You must have a break between the tables or the tables have cellpadding (or is it cellspacing? I always get those mixed up). It's hard to tell without being able to see the source code.
It's a custom style so you really should ask the style designer for help. If it's your own style, then you should give us a link to the article you used to break the forums up like that.
gbox master
09-05-2008, 07:40 PM
unfortunatly i dont have both
the one that made the template i have no contact with him anymore
and about the source code i dont even know what that is
i only have the xml file and the dirs with all gifs etc etc
and i am searching my eyes green and purple to find this cellpadding or spacing
Lynne
09-05-2008, 07:54 PM
The source I am talking about is what you get when you view any page in a browser and right-click View Page Source. You can then see the html for the page and see if there is a space in there. Before you look at the source, go to vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code and you can see which template you need to modify.
Opserty
09-06-2008, 07:40 AM
Doubt it is cellspacing or cellpadding. It seems more like an extra line break (<br />) tag at/near the beginning of the template.
gbox master
09-06-2008, 07:52 AM
ah thnx m8 i forgot about that one now i can search all templates again for that tag
or maybe you have any idea where to find this ?
anyway thnx for the reply
SEOvB
09-07-2008, 01:59 AM
its in one of the forumhome_level templates. I forget which one, but whatever one it is will have a <br /> at the very end, (or it maybe <br>) depending on who coded it
gbox master
09-07-2008, 07:56 AM
thnx alot
30 seconds and it was gone
forumhome_forumbit_level1_nopost
<br />
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="center">
thnx alot for this
some times its 2 sec for someone
and for me it can take weeks to find it :D
--------------- Added 1220779597 at 1220779597 ---------------
just one more thing is there a way to put a code in instead of the <br/> to give it 1 or 2 px space ?
maybe with cellpadding/spacing ?
Lynne
09-07-2008, 02:30 PM
Or put in a space that is only 2px high?
<p style="font-size:2px;"> </p>
gbox master
09-07-2008, 03:15 PM
Or put in a space that is only 2px high?
<p style="font-size:2px;"> </p>
so when i am correct it must be something like this ?
<p style="font-size:2px;"> </p>
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="center">
Lynne
09-07-2008, 03:18 PM
That's what I would try.
gbox master
09-07-2008, 06:15 PM
thnx i did try that but then i get the big gap back again so with the 1 px it dont work
if anybody has a idea on how to change this code so it wil get a small gap from like 2 mm then it would be perfect
this is the complete code from that template
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<div align="center">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b><font color="#FFFFFF">$forum[title]</font></b></a></div>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
</td>
<td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_right.gif" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="0">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</table>
<div class="spacer"></div>
SEOvB
09-07-2008, 09:13 PM
do this
<div><img src="clear.gif" height="2px" /></div>
Or even
<div style="height: 2px;"> </a>
gbox master
09-07-2008, 09:26 PM
do this
<div><img src="clear.gif" height="2px" /></div>
it did the trick thnx alot m8
if you are a women i will kiss you
if not i would send you my girlfriend
and ofcourse that go's for Lynne also
thnx for this thinking with me
:D:D:D:D
SEOvB
09-07-2008, 09:34 PM
Wait, before i accept any more girlfriends, which one is your girlfriend!
Your welcome
gbox master
09-07-2008, 09:42 PM
Wait, before i accept any more girlfriends, which one is your girlfriend!
thats the one who is crawling towards you :erm: :erm:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.