Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

line feeds inside textarea w- Safari

Status
Not open for further replies.

admoore

IS-IT--Management
May 17, 2002
224
US
I have a MySQL mediumtext field which holds the contents of an ongoing conversation log and displays in/updates from an html textarea in a form. Firefox and IE display embedded line feeds- Safari, does not...
Ideas? Alternatives?


TIA,

-Allen M.
 
personally, i don't see this behaviour across the browsers. they all work just fine with line spaces in the html code.

so my guess would be that there is something going wrong either in the way you store the data (and parse the incoming form variables) or in the way that you are outputting them. If you are able to share the relevant sections of your code we will be doubtless be able to assist.
 
I append new comments to the "conversational" thread stored in the mediumtext field like this:
Code:
$conversation.= "$authentic_user "."$trans_date_time "."$new_comments "."\n";

All browsers render the line-feeds fine upon display; however, safari users, and only safari users record new results without the new-line character.

Weird. I have heard of a similar problem w- Safari and javascript.

-A
 
Safari on a mac. Firefox works fine on Mac or PC.
 
can you provide a link? i do not see this behaviour on a mac, and it's my main dev platform. if no link then please provide a bunch of mark up that's giving you this behaviour.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top