PDA

View Full Version : please help me with the text area!



littlepig123
07-29-2006, 12:45 AM
please help me with the text area

when i preview my webpage then i click my mouse on the words inside the text area it can be erasd if you press backspace and other words can be added.

FPRob
08-05-2006, 02:02 PM
Are you previewing in FrontPage or previewing in your browser? It really shouldn't be letting you add and remove the text inside the text area. Check your HTML view for errors in the code, here is an example text area code. Can you post a link for us to see the problem?>




<textarea align="center" cols="86" rows="27" name="terms">
any text of your choice
</textarea>


You can also style your text area like this...




<textarea align="center" cols="86" rows="27" name="terms" style="background-color: #FFE4B5; color: #8B0000; margin: 15px; font-family: arial, Helvetica, sans-serif; font-weight: normal; font-size: 12pt;">
any text of your choice
</text area>

Renodil
08-20-2007, 06:09 AM
Add this into your textarea tag readonly="readonly"

Here's how I have my code so it also includes a background image.

<textarea rows="15" cols="65" style="background-image:url(http://sitename.whatever/image.whatever); font-family:verdana; color:#0000ff; border-style:solid; font-weight:bold;" readonly="readonly">

Renodil
08-20-2007, 06:14 AM
Anyone know how to hyperlink selected text in a text area?

Karen Mac
08-20-2007, 08:27 AM
The same as you would any other area.