<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
我正在尝试将以下脚本用于轮播。但是出现了两个错误,我无法弄清楚是什么问题。首先,如您所见,图像被剪切到最后,然后最后一张图像跳转不正确。我将非常感谢你的帮助。最好的!维多利亚。
最佳答案
将以下内容添加到您的 CSS:
.ct {
padding: 0;
margin: 0;
}
这将解决部分问题。
此外,第 5 个 li
元素有一个黑色图像。不确定这是否是故意的。
最后,第三个 li
元素有一个应该删除的 < 字符。
关于JQUERY自动轮播,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44458349/