gpt4 book ai didi

HTML textarea curson 由于某种原因缩进

转载 作者:太空宇宙 更新时间:2023-11-04 13:44:25 29 4
gpt4 key购买 nike

我需要光标向左对齐。由于某种原因,它在页面上呈现时缩进了:

             <td>
You have <strong><span id="commentsCounter">${const['COMMENT_MAX_LENGTH'] - fn:length(commentForm.comment)}</span></strong> characters left.<br/>
<textarea id="comment" name="comment" rows="2" cols="125" style="width:395px;"
onkeypress="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)"
onkeydown="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)"
onkeyup="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)">
</textarea>

<a href="javascript:addComment();"><img src="../images/icon_add.gif" border="0" alt="Add"/></a>
</td>
</tr>

enter image description here

谢谢你的帮助

最佳答案

试试这个:

<textarea id="comment" name="comment" rows="2" cols="125" style="width:395px;" onkeypress="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)" onkeydown="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)" onkeyup="characterCounter('commentsCounter',${const['COMMENT_MAX_LENGTH']}, this)"></textarea>

您的结账</textarea>标记应始终位于同一行以避免此类问题。

关于HTML textarea curson 由于某种原因缩进,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6864163/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com