在我点击进去后,我的Textarea
外观将会改变。这将发生在google-chrome
, Safari
。当页面被加载时,它还会显示一个滚动条Opera
。
我不想改变外观。
在点击之前Textarea
,
点击进去后Textarea
,
同样在 opera
,Textarea 看起来带有滚动条,
如何禁用此滚动条opera
?它会在页面加载时发生在歌剧中。
我的jsp
意志是,
<div id="messageArea">
<table border="0" width="95%">
<tr>
<td id="msgvalue" style="width:91%;border-color: #6495ED;border-style: solid;border-width: 1px;">
<textarea id="message" onkeypress="javascript:message_onkeypress(event);" ></textarea></td>
<td style="width:2%;"></td>
<td style="width:7%;"><input type="submit" name="send" value="Send" id="sendButton" /></td>
</tr>
</table>
</div>
我的CSS
意志是
#messageArea {
padding-left: 16px;
height: 10%;
width: 95%;
background-color: white;
}
#message {
width: 99.5%;
height: 49px;
border: none;
overflow: auto;
resize: none;
}
#sendButton {
width: 100%;
height: 60px;
background-color: #5690dd;
color: white;
}
好的答案将不胜感激。