Forums

This topic is locked

How do I keep this from happening?

Posted 24 Dec 2004 22:16:05
1
has voted
24 Dec 2004 22:16:05 Daniel Severns posted:
When a user enters a large font size into an RTE such as this.... how do I restrict the width/no-wrap?
If I enter a long word, it will not automatically wrap to the next line.... it just keep going and going.
Is there something I can set with the recordset to allow word wrapping?
<font size=5>
LikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThisLikeThi</font id=size5>

Replies

Replied 26 Dec 2004 10:37:47
26 Dec 2004 10:37:47 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>When a user enters a large font size into an RTE such as this.... how do I restrict the width/no-wrap?
If I enter a long word, it will not automatically wrap to the next line.... it just keep going and going.
Is there something I can set with the recordset to allow word wrapping?

LikeThisLikeThisLikeThis...<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Two ways come to mind. First, is CSS. Second, check your Bindings panel, and poke around your Server-Formats - I think there's a character width format you can apply that will limit and break to a new line. I forgot offhand where/what it's called. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Hope I helped some.

~~~~~~~~~~~~~~~
Chris Charlton

Sr. Developer - www.fingerprintMedia.com
Replied 29 Dec 2004 02:53:05
29 Dec 2004 02:53:05 Daniel Severns replied:
Thanks but i am not very farmiliar with style sheets
and what to do with them in this situation. I was also unable to figure anything
out in the bindings panel.

Any other suggestions, thank you so much for the help!!
Daniel
Replied 29 Dec 2004 04:36:13
29 Dec 2004 04:36:13 Chris Charlton replied:
If you are using PHP, here's the link to PHP's wordwrap function - www.php.net/wordwrap

I'm not sure what function(s) ASP/ColdFusion/JSP have to pull this off.
Replied 29 Dec 2004 06:39:44
29 Dec 2004 06:39:44 Daniel Severns replied:
Thanks Chris. It almost makes me want to switch to PHP, but I am using ASP and I
have no knowledge of PHP.

Thanks
Daniel
Replied 29 Dec 2004 19:16:33
29 Dec 2004 19:16:33 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>If you are using PHP, here's the link to PHP's wordwrap function - www.php.net/wordwrap

I'm not sure what function(s) ASP/ColdFusion/JSP have to pull this off.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle> I was affraid of that - I hope someone chimes in on this with more recent ASP experience, it's been almost 2 years since I've been involved with ASP. I'm fairly sure that ASP does have a solution.

I Google'd an ASP solution for a while but couldn't find anything tangible. Try Googling for something along the lines of "ASP column text wrap, wordwrap...", or search a few ASP sites you might know of.

Good luck! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic