tags:

views:

19

answers:

1

given the simple code:

<textarea>hello</textarea>

shouldn't a text area with the word hello be displayed?

why am i not getting that with:

<table>
  <tr>
    <td>
        <textarea wrap="physical" readonly="yes" style="height:510px; width:750px">
        hello
        </textarea> 
        </br>
    </td>
  </tr>
</table>
+1  A: 

Text areas are expected to be found in forms, not just anywhere. Wrap it in a <form> element.

Ignacio Vazquez-Abrams
Works for me without any kind of form (using Firefox 3.6)
halfdan
Sure, but you shouldn't expect it to behave that way in all browsers.
Ignacio Vazquez-Abrams
also using 3.6 and didn't work until form was added
DanLeaningphp