Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Remove <p> tags in Link.html

Quote Reply
Remove <p> tags in Link.html
Take a peek at what I have here, http://www.policy.ca/...tory/Test/index.html

Now, I want the title of the link title [Organization Title] to be snug up against the Short Description, so that there is no space between the two. I've looked in the templates, [link.html, detailed.html], but there doesn't seem to be a way to remove the <p> tags.

Any ideas?

Greg
Quote Reply
Re: [mapleleafweb] Remove <p> tags in Link.html In reply to
Do you mean that you can't find the <p> tag in the link template?
Quote Reply
Re: [afinlr] Remove <p> tags in Link.html In reply to
Yes,

when I look in the link.html template, and go to the section I need to edit (I think) I see this,
Code:

<%body_font%><a class="category_links" href="<%detailed_url%>"><%Title%></a></font>


<%
if isNew%>
&nbsp;<font color=red><small><sup>new</sup></small></font>
<%endif%>
<%if isChanged%>
&nbsp;<font color=red><small><sup>updated</sup></small></font>
<%endif%>
<%if isPopular%>
&nbsp;<font color="#6699cc"><small><sup class="pop">pop</sup></small></font>
<%endif%>
<%if paymentsEnabled and isUnpaid%>
&nbsp;<font color="red"><small><sup class="pop">unpaid</sup></small></font>
<%endif%>
<%if paymentsEnabled and isExpired%>
&nbsp;<font color="red"><small><sup class="pop">expired</sup></small></font>
<%endif%>
<%if paymentsEnabled and isFree%>
&nbsp;<font color="red"><small><sup class="pop">free</sup></small></font>
<%endif%>
<%if Description%>
<%body_font%><%Short_Description%></font><br>
<%endif%>
<%if URL%>
<%body_font%><small><%URL%></small></font><br>
<%endif%>


I see no <p> tag to remove?

Greg
Quote Reply
Re: [mapleleafweb] Remove <p> tags in Link.html In reply to
My guess from looking at the source code of your page and comparing it to your template is that you have set body_font equal to <p> in the globals?

Last edited by:

afinlr: Jan 26, 2005, 8:55 AM
Quote Reply
Re: [afinlr] Remove <p> tags in Link.html In reply to
Bingo, that was exactly the problem.

All I did was remove the < %body_font% > tag and everything works perfectly.

Thanks!!!

Greg