Click to See Complete Forum and Search --> : Adding a comments to text area


janice
01-24-2005, 11:42 AM
Hello all,

I need to enter a comment header inside a text area bolded.

Does anyone know how to do this:

Here is an example of what I am trying to do:

Comments:This is a text test
This is a text test
This is a text test
This is a text test

Below is the code I am trying to use


<td><b>Comments</td><td>
<%
Response.Write("<TEXTAREA rows=6 cols=40 name=laneNotes>" & "<b>Comments:</b>" & rs("laneNotes") & "</textarea>")
%>
</td>


Thanks in advance

russell
01-24-2005, 12:16 PM
you can't. you can assign style rules to the textarea, but everything in it gets that style. even html is interpreted literally, not as html elements inside of a textarea. you might play around with dhtml tooltips to show your comments when someone mouses over the textarea or something.