The print_cat sub is for the category listings on your home page only. The actual link descriptions are controlled by link.html. Note that it is a partial file so you will have to edit it by hand.
All I did is switch the formatting of link.html from a unordered list to a definition list:
<%if isNew%>
<IMG SRC="foo/images/new.gif" WIDTH="XX" HEIGHT="XX" ALT="new">
<%endif%>
<%if isPopular%>
<IMG SRC="foo/images/cool.gif" WIDTH="XX" HEIGHT="XX" ALT="cool">
<%endif%>
<BR><small class="date"> <FONT SIZE="1">(Added: <%Date%>, Hits: <%Hits%>, Rating: <%Rating%>, Votes: <%Votes%> )
<A HREF="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate this site</A></FONT></small><BR>
<%if Description%>
<DD><span class="descript"><FONT SIZE="2"><%Description%></FONT></span><BR>
<%endif%>
</DL>
The redundant font and CSS class codes help ensure cross browser appearance. Also note that I am using graphics for the new and cool flags...just change them to match your graphic references or you can switch the IMG tags for the text that came with the original file.
Glad you liked my site!
[This message has been edited by Brad Richardson (edited March 22, 1999).]
All I did is switch the formatting of link.html from a unordered list to a definition list:
Code:
<DL><DT><FONT SIZE="2"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></A></FONT> <%if isNew%>
<IMG SRC="foo/images/new.gif" WIDTH="XX" HEIGHT="XX" ALT="new">
<%endif%>
<%if isPopular%>
<IMG SRC="foo/images/cool.gif" WIDTH="XX" HEIGHT="XX" ALT="cool">
<%endif%>
<BR><small class="date"> <FONT SIZE="1">(Added: <%Date%>, Hits: <%Hits%>, Rating: <%Rating%>, Votes: <%Votes%> )
<A HREF="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate this site</A></FONT></small><BR>
<%if Description%>
<DD><span class="descript"><FONT SIZE="2"><%Description%></FONT></span><BR>
<%endif%>
</DL>
The redundant font and CSS class codes help ensure cross browser appearance. Also note that I am using graphics for the new and cool flags...just change them to match your graphic references or you can switch the IMG tags for the text that came with the original file.
Glad you liked my site!
[This message has been edited by Brad Richardson (edited March 22, 1999).]