Gossamer Forum
Home : Products : Links 2.0 : Customization :

How to set text break???

Quote Reply
How to set text break???
How do I do that? See for example the page http://www.a4.no/Spill/Flysimulatorer/
There you see that the text line goes across the holde page, without going to a new line. Even if i push enter several times in the admin panel.

I want an enter to mean "<br>", and that the program automatically breaks down text into several lines, in stead of using the hole screen widht.

My link.html file look like this:
------
<strong><font size="2"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"
onMouseOver="window.status='<%URL%>';return true"
onMouseOut="window.status=' ';return true">
<%Title%></a></font></strong> <small>
<font face="Arial" size="-2" color="#FFFF80">
<small class="date">(<%Hits%>/<%Votes%> )
<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>"> Stem</a></small></small></font>
<%if isNew%>
<font face="Arial"><font size="-2"><sup class="new"> ny</sup></font>
<%endif%>
<%if isPopular%>
<font face="Arial"><font size="-2"><sup class="pop"> pop</sup></font>
<%endif%>
<%if Description%>
<br><font face="Arial"><font color="#FFFF80"><font size="-2"><span class="descript"><%Description%></span></font></font>
<%endif%><br>
--------
Help!
Quote Reply
Re: How to set text break??? In reply to
It has nothing to do with the links script. You need to fix your html in the category template. You have a <nobr> </nobr> tag surrounding the area where the links are. This prevents soft line breaks. Take out those tags and I bet it will work.
Quote Reply
Re: How to set text break??? In reply to
Of course :-)

It works now.

Thanks