0

我正在使用 jQuery Cycle,但它会自动设置 div 的宽度。

循环的 div 有 ID #slideshow,所以我目前不得不修改 CSS

#slideshow {
  width: 100% !important;
}

有没有办法使用 jQuery Cycle 选项而不是必须使用 !important 来实现这一点。

任何提示将不胜感激!

4

1 回答 1

2

将宽度选项设置为

width: "100%"  // container width (if the 'fit' option is true, the slides will be set to this width as well)
于 2012-07-20T16:43:04.293 回答