【问题标题】:Jssor banner slider caption heightJssor 横幅滑块标题高度
【发布时间】:2015-05-14 10:07:37
【问题描述】:

在以下示例中,我无法确定如何增加滑块底部标题的高度: http://www.jssor.com/demos/banner-slider.html

不需要增加文本/字体,只需要底部包含文本的 div 的大小。以为我会像下面那样将高度从 50 增加到 100,但这并没有改变任何东西……有什么想法吗?谢谢!:

`<div u="caption" t="MCLIP|B" style="position: absolute; top: 250px; 
      left: 0px; width: 600px; height: 100px;">

      <div style="position: absolute; top: 0px; left: 0px; width: 600px;
      height: 100px; background-color: Black; opacity: 0.5; filter: alpha
      (opacity=50);">
      </div>

      <div style="position: absolute; top: 0px; left: 0px; 
      width: 600px; height: 100px; color: White; font-size: 16px; 
      font-weight: bold; line-height: 100px; text-align: center;">
      Simple Caption Definition: &lt;div u="caption"   
      t="MCLIP|B" ...&gt;&lt;div/&gt;
      </div>

</div>'

【问题讨论】:

    标签: slider height jssor caption


    【解决方案1】:

    请将top 更改为 200 像素或更小。也就是说,

    替换

    top: 250px;
    

    top: 200px;
    

    【讨论】:

      猜你喜欢
      • 2023-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多