Gossamer Forum
Quote Reply
Yahoo Subcats
Hi,

I am a brand new user (tonight) of Links Sql. I have been pouring through the forums looking at possible reasons why my plug-in for Yahoo subcats is doing this:

Arts (0) Literature,Movies,Music

Instead of: Arts (0)
Literature,Movies,Music

I prefer to have all of the subcats left justified..... just like DMOZ and Google style....

Please help.

Thanks!

Smile
Quote Reply
Re: [sooke] Yahoo Subcats In reply to
Make sure you have a <br> in subcategory.html between (<%Number_of_Links%>) and <%Description%>

Last edited by:

Paul: Apr 2, 2002, 1:15 AM
Quote Reply
Re: [Paul] Yahoo Subcats In reply to
Hi Paul, thanks for replying.

I think my message (the layout part was a little confusing).

I am actually getting:

Arts
Movies, Music, Literature

When I want

Arts
Moives, Music, Literature

The subcategories are goingn to a new line (though there is no <br> in subcategory.html), but they are not left justified..... not sure where all the space is coming from before the first subcategory?

My subcategory.html looks like:



<dl>
<dt><strong><a class="link" href="<%URL%>"><%Short_Name%><%if Related%>@<%endif%></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>

Thanks!
Quote Reply
Re: [sooke] Yahoo Subcats In reply to
that still did not come out right! Ahhrrgg

Arts
______ Movies, Music, Literatre

I am getting space before the movies part when I just want it

Arts
Movies, Music, Literature
Quote Reply
Re: [sooke] Yahoo Subcats In reply to
dd, dl, dt are all deprecated elements. Use <br> tags instead.

John
Quote Reply
Re: [gotze] Yahoo Subcats In reply to
Thanks I'll give that a go.

Smile
Quote Reply
Re: [gotze] Yahoo Subcats In reply to
Sorry for being off topic, but <dl> <dt> and <dd> elements are not deprecated. Not in HTML 4.01 nor XHTML 1.0.

If you have other sources for that information, tell me.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Yahoo Subcats In reply to
Indeed. I just asked my collegue ... well, I (and he) stand corrected.

Anyway, since definition lists use inline elements, you either have to "fool" them in your style sheet, or get rid of them.

John