Click to See Complete Forum and Search --> : Text Area Question...


montyX
10-19-2004, 06:52 AM
How do I make the text in my text area change?? For example... I want to make the words centered and bold... how would I do that? I can't just put regular HTML tags into it because the tags show up as if they were regular text...

Also, how do I make it so that people can't type in my text area over what I put??

Please help. Thanks. :)

Robert Wellock
10-19-2004, 10:15 AM
<textarea name="textarea" readonly="readonly">Text in here.</textarea>

Though are you sure you want a text area and not a scrollable division.

PeOfEo
10-19-2004, 07:27 PM
Text area are often misused as 'scrolling content windows'. Like robert said, if this text area is just an area for you to put content while having a scroll bar you should consider a scrolling division.


<div style="height:500px; width:500px; overflow:auto;"> This content will scroll when it gets bigger then 500 by 500. </div>