close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


email text without CR exceeds email window

Thread began 10/18/2012 10:57 pm by mike410462 | Last modified 10/19/2012 2:03 pm by mike410462 | 540 views | 2 replies |


email text without CR exceeds email window

I am using databridge UE to setup a simple contact form.
I stumbled on this accidentally and cannot figure out how to fix.
Basically, I was testing the comments test box I have and just typed in repeated keystrokes for a good long time and then copied that chunk, hit return and pasted, return and pasted. I was seeing how the text box reacted to a lot of text.
On the form itself - no problem - scrollbar and all text within box.
But on the email itself - the text way overflows the text box (really the table cell) way right, until it sees the return (CR/BR whichever) drops correctly and then shoots off to the right again.
I tried to define both a table width size and also a width for that cell - to no effect - the text still shoots off to the right. I would have thought that the text would stay within the table cell, but it does not - even with a max size limit.
I have attached a screen shot of that part of the email.
This is a basic form using the blank template provided (modified to contain the data I wanted in the email per your instructional video).
When it sees a return, the text drops fine, but this is what happens if I type a lot without hitting the return key.
It probably is something simple I missed, but does anyone have any thoughts about how to correct?
Any help would be appreciated

Sign in to reply to this post

Jason ByrnesWebAssist

this is a limitation to CSS support in email clients.

Not all CSS standards are supported in email clients, the overflow property is one that is not.

you would need to use PHP to force wordwrap on the string.

it looks like the name of the form element in question is comments, add the following code at line 1 to force word wrap at 50 characters:

<?php if(isset($_POST['comments']) && $_POST['comments'] != ""$_POST['comments'] = wordwrap($_POST['comments'],50,"<br>",true); ?>
Sign in to reply to this post


That fixed it.
Appreciate the help and quick response.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...