Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Nietsyoe #1
Text wrap problem in forms
(sorry, I just posted this topic on the general discussion forum - I guess it
is better placed here)
I work with MX on Mac OSX and MySql with the CocoaMySql gui.
In the record insertion form I have text fields with multiple lines, and want
the result page to show my text starting a new line every time i hit the enter
key when i insert the text.
But this does not work. I have tried all variations on the "wrap" selector,
including "default" and "off". STill the text shows up as auto wrapped. It is
also impossible to force a line break.
However, when I open view the data content in CocoaMySql, I see that the line
breaks are fine there. So I guess it must be the result page that is the
problem? I also tried to choose "no wrap" in the text field in the result page,
but that makes just on long line out of the text....
Can anybody help?
Thank you
Nietsyoe Guest
-
Keep all lines together and text wrap problem
I have my keep options set to keep ALL lines in the paragraph together, but if I have a text wrap that crosses the text block, the paragraph will... -
Text wrap adding a ghost Wrap???
hello, I was working on creating a clipping mask on a photo by using the pen tool and making a silo. Then I would cut the picture and paste into... -
Wrap Text
I was able to accomplish wrapping the text by grouping the picture and text in a text box - worked perfectly. "vivian" <vivian.n@suothisd.org>... -
Text wrap in CS
Greetings, While trying to use the text wrap feature in AI CS, I encountered a peculiar problem. It seems that AI will attempt the text wrap, but... -
Text Wrap around an image pasted into a text box
This is an imperfect workaround, but I use it quite a bit. Paste your graphic in-line, followed by a hair-space or thin-space. Then format your... -
boy mackman #2
Re: Text wrap problem in forms
It is not do do in the actual form but in how you display the data, I have been
using a function to do this:
//Function to remove line brakes and to use < br > instead
function formatText($x)
{ //$x is the string to format
$x = str_replace("\r", "<br>", $x);
return $x;
}
//End Function
$TextToFormat = $DB_Field_With_Data;
echo formatText($TextToFormat);
Hope this helps
boy mackman Guest



Reply With Quote

