2012-07-26 32 views
3

我使用Zurb CSS框架,作爲對foundation.zurb.com/docs/forms.php記錄我使用相同的代碼如下Zurb CSS框架下拉問題

<label for="customDropdown">Dropdown Label</label> 
<select style="display:none;" id="customDropdown"> 
    <option SELECTED>This is a dropdown</option> 
    <option>This is another option</option> 
    <option>Look, a third option</option> 
</select> 
<div class="custom dropdown"> 
    <a href="#" class="current">This is a dropdown</a> 
    <a href="#" class="selector"></a> 
    <ul> 
    <li>This is a dropdown</li> 
    <li>This is another option</li> 
    <li>Look, a third option</li> 
    </ul> 
</div> 

提供,但我看不到任何下拉,上面的代碼複製從粘貼他們的網站。

謝謝。

回答

6

這是愚蠢的錯誤,我忘了把類='自定義'的表單元素。