我有一個提交按鈕,文本應該分兩行顯示。這是工作在Firefox &瀏覽器,但不是在IE:在IE中提交值的新行
HTML:
<input type="submit" value="This is a very long
two line Text" class="submit_button" >
CSS:
.submit_button {
width:200px;
height:100px;
}
針對IE的任何想法(我試過IE11)?
我有一個提交按鈕,文本應該分兩行顯示。這是工作在Firefox &瀏覽器,但不是在IE:在IE中提交值的新行
HTML:
<input type="submit" value="This is a very long
two line Text" class="submit_button" >
CSS:
.submit_button {
width:200px;
height:100px;
}
針對IE的任何想法(我試過IE11)?
改爲使用按鈕。
<button type="submit" class="submit_button">
This is a very long<br>
two line Text
</button>
<button type="submit" class="submit_button">
This is a very long<br>
two line Text
</button>
編輯:貌似用戶TELIC,我提交了相同的答案秒分開。