![](/img/trans.png)
[英]I made a webpage but have excess white space at the bottom, how do I get rid of this?
[英]How do I get rid of the excess space on the mobile version of a wufoo form?
如果我正确理解了您的问题,则当页面显示在窄设备上时,您希望从html
元素中删除padding-top: 20vh
。
在这种情况下,这个 CSS 应该做你想做的事。 我已经重用了与您的页面相同的@media
-query,并假设这是您为移动设备定义的大小。
@media only screen and (max-width: 480px) {
html {padding-top: 0}
}
如果将此代码片段添加到 CSS 文件(可能是wufoo.css
)的末尾,它应该会删除移动设备上表单上方的空格。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.