Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Category Spacing (vertical)

Quote Reply
Category Spacing (vertical)
This should be easy, but!!!

I cannot figure out how to remove the (vertical) spacing between the categories.

Here is what I have:

<%category%> <%category%>

<%category%> <%category%>

<%category%> <%category%>


Here is what I want:

<%category%> <%category%>
<%category%> <%category%>
<%category%> <%category%>


I think the secret is in the subcategory.html file, but I can't figure it out.
------------------------

Here is the code in the subcategory.html file:

<dl>
<dt><strong><a class="link" href="<%URL%>"><%Short_Name%></a></strong> <small><class="numlinks">(<%Number_of_Links%>)</small>
<%if Has_New_Links eq 'Yes'%><small><sup class="new">new</sup></small><%endif%>
<%if Has_Changed_Links eq 'Yes'%><small><sup class="new">update</sup></small><%endif%>
</dt>
<%if Description%><dd><span class="descript"><%Description%></span></dd><%endif%>
</dl>
Quote Reply
Re: Category Spacing (vertical) In reply to
Can you post your subcategory.html

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Category Spacing (vertical) In reply to
I'll try to guess, it is the CELLPADDING tag in a table which is written when building categories description.
Try to go to the SETUP->Build Options->
and change build_category_table parameter like:
border=0 width="100%" cellpadding=2 cellspacing=0

Quote Reply
Re: Category Spacing (vertical) In reply to
No, this got nothing to do with cellpadding. You have to delete <dl></dl> from subcategory.html and put it into category.html (around <%category%> (of course)). This may affect other templates (search_results.html for example), so try it and see how it works.

Regards,
Andy

Quote Reply
Re: Category Spacing (vertical) In reply to
Here's what I have for my sub-categories file and it does what you are after:


< br><a class="catlink" href="<%URL%>"><%Short_Name%></a> <small class="date">(<%Number_of_Links%>)</small>
<%if Has_New_Links eq 'Yes'%><small class="new">new</small><%endif%>

<%if Description%><dd><span class="descript"><%Description%></span></dd><%endif%>

Remove the space in the < br> tag.

Bryan
Quote Reply
Re: Category Spacing (vertical) In reply to
Thanks All! It works now.

Eddie