Facebookのようなソーシャルネットワーキングサイトを作成しています。だから私はテキストボックスと右の列を手に入れました。問題は、テキストボックスのサイズを変更すると、サイズ変更されたテキストボックスとともに右側の列が下がることです。どうすれば正しいcloumndivを滞在させることができますか?
コードは次のとおりです。クリックしてソースコードを表示
Facebookのようなソーシャルネットワーキングサイトを作成しています。だから私はテキストボックスと右の列を手に入れました。問題は、テキストボックスのサイズを変更すると、サイズ変更されたテキストボックスとともに右側の列が下がることです。どうすれば正しいcloumndivを滞在させることができますか?
コードは次のとおりです。クリックしてソースコードを表示
Change this code in your file after that when you resize your textarea, button will go next to textarea.
In Html file:
//<div class="contentText">
<input type="submit" class="contentText" value="Post " id="update_button" class="update_button"/>
//</div>
And
In css file:
textarea { border:0px none; -moz-box-sizing:border-box; box-sizing: border-box; -webkit-box-sizing: border-box; overflow:hidden; height:30px; width:450px; padding:4px; float:left;}