我有一个div
。我已经加入了风格overflow: auto
到div - 这使它看起来像this在滚动条下显示填充
我的问题是:我怎么下的内容增加空间 - 像this(你可以看到,有文字下方的空间 - 我做了这个用油漆
我的代码是:
<div class="background" style="overflow: auto;">
<h2>ABOUT</h2>
<p>And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an exampleAnd welcome to my profile! This is an exampleAnd welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an example And welcome to my profile! This is an exampleAnd welcome to my profile! This is an example</p>
</div>
逆转您的状况。 –
这里有人?????? –
hello ??????????????????????????????????????? –