Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 jCarousel 添加到具有多列的 HTML 表单中。
例如:我有第一列排列的汽车列表,然后它将在 8 列中包含这些汽车的功能列表,用户可以使用输入字段进行设置。
如果我在 jCarousel 之外设置汽车列表,它将不会与输入字段对齐,因为某些功能文本需要多行,如果我在 jCarousel DIV 中添加它,用户将无法在滚动到下一个功能时看到汽车的名称.
有人可以帮我设置第一列静态/固定吗?这样,如果用户单击按钮滚动到汽车的下一个功能列表,所有功能都将可见。
欢迎所有建议
.stays-at-top { background-color: #f99; position: fixed; width: 200px; }
小提琴演示