我有一個具有一個特定.jspx頁面的Web應用程序,在這裏我遇到了表中空白文本框的問題。在這個代碼片段(這裏編輯的大小,因爲頁面是這樣長):在jspx頁面修復非破壞性文本
<table cellpadding="2">
<tbody>
<tr>
<td style="color: #ff6699;">
Please add descriptive keywords
<br>
and any comments *
</td>
<!-- the line below is the problem-->
<td>
<input id="{c08485a6-60c0-554e-90a1-96d3cf7c6ff7}" style="width:150px; height: 50px; font-size: 11px; border: 1px solid;" name="Asset Description">
</td>
</tr>
<tr>
<td colspan="2">
<input style="visibility: hidden; height: 5px;">
</td>
</tr>
<tr>
<td style="border-top: 1px dotted #ff6699; padding-top: 10px;" colspan="2">
<span style="font-family: arial; font-size: 14px; font-weight: bold; color: #ff6699;">Tell us about yourself.</span>
</td>
</tr>
<tr>
<tr>
</tr>
<tr>
</tbody>
</table>
...如果我在描述字段中鍵入的文本不換,只是不斷地滾動文本向右在一行在鍵入時:
(因爲我不能發佈圖片...想象一下這是怎麼我的文字會在箱子無休止地在一行上鍵入不纏繞右)
我已經嘗試將'input id = ...'改爲'textarea id = ...',並且當我在html中測試時,文本框的功能完全是我想要的方式:
(同樣,因爲沒有圖片...
想象這是怎樣我的文字
應該我
文本框中換行。)
但是,如果我加載與.jspx頁新的代碼和測試在我的應用程序中,當我點擊這個特定的功能時,它炸掉了我的整個網絡應用程序,然後回到登錄頁面,並帶有'結束會話'消息。
傾倒在這個(和其他董事會)我正在閱讀'textarea ...'需要特殊處理,當在.jspx頁面中使用,但我找不到我需要的正確語法。我嘗試過使用結束標記(/ textarea>),但頁面/函數仍然中斷。
任何想法,我可能會給我一個很好的,乾淨的,包裝文本框?非常感謝所有!
我試圖這樣: ' ' 和此: ' ' 但它仍然錯誤。 –