Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Catalog text format is indented ...

Quote Reply
Catalog text format is indented ...
The category text links are indented when displayed to the screen and try as I may, I've not been able to locate the cause for the indentation. Could/would someone please identify where this setting can be changed?
sql 1.11 using the snap templates (occurs on other templates, too) Thanks!

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Catalog text format is indented ... In reply to
I believe it's the <dl>, <dt>, and <dd> tags in subcategory.html. I chopped them out and things line up the way I like them to. Smile

Dan
Quote Reply
Re: Catalog text format is indented ... In reply to
Hi Dan, thanks so much for the feedback, I found several html tags I could modify in the subcategory.html in an effort to get the look I'd like.

Unfortunately, removing the dl, dt, dd tags from this file didn't correct the problem. The category lists are still offset (indented) as they would be when using a "quote" tag in straight html.

Category:
. . . . Name
. . . . Name2
. . . . Name3 (without the . . .'s of course)

Any other suggestions? Thanks!

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Catalog text format is indented ... In reply to
Are you using the CSS? I got rid of all that, too... I believe there is a CSS file that is called by the class="" tags. Delete all of those calls and I'm pretty sure that will get rid of your indentations, unless I'm completely misunderstanding what you're talking about. Smile

The other thing that might be causing it is sub site_html_print_cat in HTML_templates.pm. I believe there were a few <dt> and <dd> type tags that I deleted first thing.

Dan
Quote Reply
Re: Catalog text format is indented ... In reply to
Hi Dan, thanks for the tip, I'll check the other location you mentioned. I use CSS however, that should not be the problem as I am not using any class= tags in the layout. Essentially, the css is defining overall items (colors, etc) which I plan on using in other non-links areas of the site too.
Code:
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<tr bgcolor="#cc0000">
<td height=2><spacer type=block height=1 width=1></td>
</tr>
<!-- Subcategories--> <%if category%>
<tr>
<td><font face="Arial,Helvetica" size=-1><b> Categories:</b></font><P></td>
</tr>
<tr>
<td>
<P><CENTER><table width="100%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="100%"><font face="Arial,Helvetica" size=-1>
<%category%>
<P>
</td></tr>
</table></CENTER>
</td>

</tr>
<%endif%>
</table>
This is the section of code from category.html. No class= calls being used.

Thanks!

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Catalog text format is indented ... In reply to
Hi Dan, thanks so much for the feedback. The culprit was at site_html_print_cat in HTML_templates.pm.

I've been able to make the corrections I needed for the layout. Smile

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Catalog text format is indented ... In reply to
Hi Karen,

Glad I was able to lead you in the right direction. Smile

Dan