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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dhtml in IE, textarea in NS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have this nifty script I'd like to use. Its a slideshow with changing text. In IE it uses DHTML, which looks great, and in NS it uses a textarea box.

However, I want to have a line break in my text. If I use \n it works in NS and doesn't do anything in IE. If I use < br > it works in IE and looks naff in NS.

Is there a way?
 
have you tried &amp;#013; or &amp;#010;

or with unicode, I'm not sure about the syntax, but it is someting like:

for a line feed:

u\0000A or
u/0000A or
u\000A or
u/000A or

for a carriage return, change A to D

Hope this helps,
Erik






Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Thanks for the reply!

The unicode works for NS, but not IE, but I think that there is a bug with IE 5.5 and unicode?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top