Gossamer Forum
Home : Products : Links 2.0 : Customization :

How do i change the spcaing between subcategories ?

Quote Reply
How do i change the spcaing between subcategories ?
Houw can i change the spacing between the subcategories on a categoriy page..
I want to get rid of the line between the subcategories - i want the page to look like a list - no space between lins no description .... just like a list - also .. is ther anyway to center the list instead of having it aligned left in 2 tab cells as it is by default ?


------------------
www.organizedchaos.net
Quote Reply
Re: How do i change the spcaing between subcategories ? In reply to
To remove the spacing in your site_html.pl file find somthing like this, sub html_print_cat remove the <dt>'s and </dt>'s thatal get rid of any spaces, now for the other part, If Im reading this right, your wanting to have them in one line, if so under sub html_print_cat remove the tables(<td><tr><table>....
Thanks
Joey
Quote Reply
Re: How do i change the spcaing between subcategories ? In reply to
Thanks for teying to help but i don't understand what are you saying
This is the code as it is by default:
<table border=0 bgcolor="#66CCFF" width="80%">
<tr>
<td>
<p><b><font color="#CC0000">$description</font></b></p>
<p>~; if ($header) { $output .= qq~ </p>
<p><$font size=5>$header</p>
~; } if ($category) { $output .= qq~ <$font_subtitle><strong><font color="#CC0000">Categories:</font></strong>
<p><$font_category>$category ~; } if ($links) {$output .= qq~
<$font_subtitle><strong>Links:</strong><br>
<$font_category>$links ~; } if ($related) { $output .= qq~
<p><$font_subtitle><strong><font color="#CC0000">Related Categories</font>:</strong>
<ul>
<$font_category>$related
</ul>
~; } if ($prev or $next) { $output .= qq~
<p align=center>~; } if ($prev) { $output .= qq~<$font><strong><a href="$prev">Prev
$build_links_per_page</a></strong> ~; } if ($next) { $output
.= qq~<$font><strong><a href="$next">Next $build_links_per_page</a></strong>
~; } if ($prev or $next) { $output .= qq~</p>
~; } if ($footer) { $output .= qq~
<p>$footer</p>
~; } $output .= qq~ </td>
</tr>
</table>

I don't know if you can see it right becasue this window is to small but wat i'm trying to do is
leave the tabel cells but have the subcategories centered in the cells and with no space between the lines .. i want them one underneat the other one.
tia

------------------
www.organizedchaos.net