jscroller up和jscroller无穷无尽

时间:2010-03-11 11:08:42

标签: html css

请帮我找一个关于此编码的解决方案

<div id="side_forums_pane" class="side_pane" style="display:none; height:330px;width:260px">
   <div class="jscroller2_up jscroller2_speed-19 jscroller2_mousemove" style="height:105px;align:left;left:2px;right:2px;width:160px;overflow:hidden;">
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>                                                            
    </div>
    <div class="jscroller2_up_endless jscroller_speed-19">
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>
       <b style="text-decoration:underline">Coming Soon..</b><br/>
          Your Own Classifieds Section<hr size='1' color='silver'/>                                        
    </div>
</div>

1 个答案:

答案 0 :(得分:0)

好吧,正如其他人所说,问题不是那么清楚,但我确实看到了一个糟糕的CSS规范,你已将其归类为“jscroller2_up jscroller2_speed-19 jscroller2_mousemove”。

该DIV上有一个内联样式,包括“align:left;”

这是无效的。

我认为您的问题是布局问题。您可以尝试通过以下更正来解决:

<div id="side_forums_pane" class="side_pane" style="display:none; height:330px;width:260px"> 
   <div class="jscroller2_up jscroller2_speed-19 jscroller2_mousemove" style="height:105px; text-align:left; left:2px; right:2px; width:160px; overflow:hidden;"> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/>                                                             
    </div> 
    <div class="jscroller2_up_endless jscroller_speed-19"> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/> 
       <b style="text-decoration:underline">Coming Soon..</b><br/> 
          Your Own Classifieds Section<hr size='1' color='silver'/>                                         
    </div> 
</div> 

请注意,该属性为“text-align”而非“align”

希望这就是你要找的东西