html - 内容覆盖了我的页脚 - 想要一个固定或最大高度
问题描述
我无法让内容的主体滚动/具有确定的高度。我已经尝试过最大和最小高度,但我不知道在我的 CSS 中是什么使内容滚动到底部。
网站:https ://go.trustradius.com/TriNet_TriNet-Vertical-Page-COPY.html
min-height,max-height,调整页面高度。等等
身体>
<div id="tqaAllInOne" style="width: 90%;height:500px;margin: auto; padding:50px 0px;
">
<div id="TQAobject" style="width:20%;min-width:250px;min-</height:400px;display:inline-block;position:absolute;margin-left:15px;border: 1px solid #ccc;background-color:white;">
<div style="z-index: 100; background-color: white;">
<div id="blurbContainer" style=" height: ; padding: 15px; padding-bottom: 70px;">
<h3 style="position:relative; margin:0px 0px 15px 0px;padding: 0px;line-height: 1em;font-size: 1.3em;font-family: inherit;font-weight: 600;">Selected Quote</h3>
<div id="blurbText" onclick="copyText()" style="font-size: 14px;font-family: inherit;font-weight: 300;line-height: 1.4em;color: #444;text-decoration: none;text-size-adjust: none;margin: 0px;padding: 0px;padding-bottom:20px;text-shadow: none;cursor: pointer;text-align: left;">Select a TrustQuote you would like to copy</div>
<button onclick="copyText()" style="position: absolute;bottom: 20px;left: 20px;right: 20px;top: 20px; font-family: serif;font-size: 18px;font-weight: 300;padding: 3px 8px;margin: 0px;cursor: pointer;border-radius: 0px;min-height: 35px;max-width: 300px;top: auto;background-color: #ecf4ff;color: #002269;">Copy Quote to Clipboard</button>
</div>
</div>
</div>
</div>
</body>
解决方案
推荐阅读
- python - Python。我如何从 txt 文件中拆分()?
- firebase - 如何避免因公开调用 Firebase 实时数据库而被收费?
- java - OpenGL Alpha 值在着色器中没有影响
- javascript - Javascript正则表达式查找两个单词之间的所有逗号
- asp.net - ASP.net 中的 DotNetBrowser
- amazon-web-services - 有没有办法使用通配符将 S3 存储桶中的所有对象复制到 Redshift?
- python - 无法从“url”导入“视图” - Django
- spring - 子文件夹 ClassPathResource 中的静态文件
- rest - 如何在用户名/密码和谷歌登录中验证和授权用户?
- android - 如何使我的整个显示可滚动