gpt4 book ai didi

css - 强制水平滚动条到首页

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

我的问题是我如何通过。 CSS 可以强制我的网页在首页显示水平滚动条。

我试过寻找 overflow-x: 但似乎找不到合适的地方。

我的网页:http://holtumdata.dk

我有一些客户在使用小屏幕计算机时找不到“下载”页面。 (在窗口模式下打开浏览器,看看我的意思。)

提前致谢!

最佳答案

在这里查看您的页面,我可以看到您有这样一行 HTML

<div id="portfolio_viewport" style=" overflow: hidden;  outline: none; cursor: -webkit-grab;" tabindex="5000">

移除元素样式中的溢出:隐藏

但由于 CSS 是从模块生成的,我们可以通过使用脚本在本地覆盖它

<style media="screen" type="text/css">

#portfolio_container {
overflow-x: scroll !important;
}
</style>

关于css - 强制水平滚动条到首页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21988659/

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