View Full Version : Text area problem


jo123
02-11-2005, 12:25 PM
in text areas, when I hit enter it comes up with <BR> at the begining of every new line..how do I get rid of that?!

pb&j
02-11-2005, 01:53 PM
can you provide a link to your example? thanks.

it sounds like the area is translating your entered text into html coding.

jo123
02-11-2005, 02:23 PM
www.fluffyunicorn.friendpages.com =)

pb&j
02-11-2005, 04:09 PM
in your coding, you have this...
<textarea rows="5" cols="26" style="background-color:#ffccff; font-family:verdana; color:#9900ff; border-style:solid">
test
<BR>test
<BR>test
</textarea>

textareas will display everything inside them as they appear in your coding, so what you probably want is this...

<textarea rows="5" cols="26" style="background-color:#ffccff; font-family:verdana; color:#9900ff; border-style:solid">
test
test
test
</textarea>

just take the BR tags out of the textarea itself.

apart from that, your coding needs a bit of cleanup. you have some missing main tags and some mis-placed ones. example...
this part...
<script src=http://graphics.friendpages.com/images/common/images.js></script>
</head>
<!-- X.X.1.89 -->
<!-- v.20050124 -->
<TITLE>Welcome</TITLE>
<HTML><BODY marginwidth=0 marginheight=0 border=0 leftmargin=0 topmargin=0 BGCOLOR=FFFFFF TEXT=000000 LINK=FF0000 VLINK=FF0000>

should be replaced by this corrected coding...
<script src="http://graphics.friendpages.com/images/common/images.js"></script>
<TITLE>Welcome</TITLE>
</head>
<BODY style="margin:0px;" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#FF0000">

there is a bunch of other places, but that would be a good start for now.

jo123
02-11-2005, 04:36 PM
alright thanks a million for your help =D I'll start editing =P