Log In · Register

 
 
Closed TopicStart new topic
code box
Bobblehead425
post Dec 5 2005, 03:52 PM
Post #1


My desperate heart is far too weak to run for you this long.
*****

Group: Member
Posts: 640
Joined: Jun 2005
Member No: 150,342



sorry if this was already posted but i couldn't find anything that works.

ok, so you know those text area things? well when i do it all those stupid <br> things show up and the layout wont come out right. does anyone have a code? dont you dare give me a link to the other textarea codes because they dont work.

so please, can you help?
 
*mipadi*
post Dec 5 2005, 03:56 PM
Post #2





Guest






The HTML <textarea> tag applies whitespace, meaning that if you put a carriage return inside it, the carriage return will appear in the textbox--unlike HTML, which ignores whitespace (other than a single space character). So if you want something like this in a textbox:

line 1
line 2
line 3
line 4


use this in your HTML coding:
HTML
<textarea>line1
line2
line3
line4</textarea>


rather than:
HTML
<textarea>line1<br/>line2<br/>line3<br/>line4<br/></textarea>
 
Bobblehead425
post Dec 5 2005, 04:41 PM
Post #3


My desperate heart is far too weak to run for you this long.
*****

Group: Member
Posts: 640
Joined: Jun 2005
Member No: 150,342



thank you oh so much. your my hero. haha.
 
Kenado
post Dec 5 2005, 06:53 PM
Post #4


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Topic Closed.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: