gpt4 book ai didi

javascript - 浏览器中的照片库分页兼容性

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

如果您看到 here ,每个照片库下方的数字在 Chrome 上显示不正确,但在 Firefox 上显示正确。

这是截图比较:-

Chrome :- enter image description here

火狐:- enter image description here

如您在上图中所见,第 2 至 4 页未显示 Chrome。这是为什么?

最佳答案

您可以为您的 .page-numbers 元素提供 display: inline-block; 属性。它似乎以这种方式在 Chrome 中工作。

.page-numbers {
display: inline-block;
}
<a class="page-numbers" data-pageid="3" href="https://www.clubdeise.com/gallery/nggallery/page/3">3</a>
<a class="page-numbers" data-pageid="4" href="https://www.clubdeise.com/gallery/nggallery/page/4">4</a>
<a class="page-numbers" data-pageid="5" href="https://www.clubdeise.com/gallery/nggallery/page/5">5</a>
<a class="page-numbers" data-pageid="6" href="https://www.clubdeise.com/gallery/nggallery/page/6">6</a>
<a class="page-numbers" data-pageid="2" href="https://www.clubdeise.com/gallery/nggallery/page/2">2</a>
<a class="next" data-pageid="2" id="ngg-next-2" href="https://www.clubdeise.com/gallery/nggallery/page/2">►</a>

关于javascript - 浏览器中的照片库分页兼容性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50552269/

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