gpt4 book ai didi

HTML - 文本框和 DIV

转载 作者:行者123 更新时间:2023-11-28 13:38:09 24 4
gpt4 key购买 nike

我正在创建一个像 facebook 这样的社交网站。所以我得到了一个文本框和一个右栏。问题是当我调整文本框大小时,右列随调整大小的文本框一起下降。我怎样才能保留正确的 cloumn div?

这是代码 Click Me To View Source Code

最佳答案

 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;}

关于HTML - 文本框和 DIV,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12719188/

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