0
我在Chrome瀏覽器中重新調整文本區域時遇到問題。當我將文本區域重新調整爲更高,然後重新調整大小恢復到正常大小時,div不會重新調整大小恢復到正常大小。 ?表」有誰知道這是一個解決辦法,你應該能夠複製我用下面的代碼問題在http://jsfiddle.net/uJ7U6/在Chrome中調整TextArea的大小問題
<div style="display: table;">
<div style="display: table-row">
<div style="display: table-cell;">
<span style="font-weight: bold">TextArea 1</span>
</div>
<div style="display: table-cell;">
<span class="dialogControlLabel">TextArea 2</span>
</div>
<div style="display: table-cell;">
<span style="font-weight: bold">TextArea 3</span>
</div>
</div>
<div style="display: table-row">
<div style="display: table-cell;">
<textarea id="txtTextArea1" rows="3" cols="30"></textarea>
</div>
<div style="display: table-cell;">
<textarea id="txtTextArea2" rows="3" cols="30"></textarea>
</div>
<div style="display: table-cell;">
<textarea id="txtTextArea3" rows="3" cols="30"></textarea>
</div>
</div>
</div>
<div>
<div style="display: table-row">
<div style="display: table-cell;">
<span class="dialogControlLabel">TextArea 4</span>
</div>
<div style="display: table-cell;">
<span class="dialogControlLabel">TextArea 5</span>
</div>
<div style="display: table-cell;">
<span class="dialogControlLabel">TextArea 6</span>
</div>
</div>
<div style="display: table-row">
<div style="display: table-cell;">
<textarea id="txtTextArea4" rows="3" cols="30"></textarea>
</div>
<div style="display: table-cell;">
<textarea id="txtTextArea5" rows="3" cols="30"></textarea>
</div>
<div style="display: table-cell;">
<textarea id="txtTextArea6" rows="3" cols="30"></textarea>
</div>
</div>
</div>
請花一分鐘,以建立一個工作小提琴(www.jsfiddle.net)與您的代碼 – BeNdErR
我加入了小提琴鏈接帖子。感謝您的建議。 http://jsfiddle.net/uJ7U6/ – nsmanners
爲我完美工作。 – David