水平清單項目已解決 實現水平列表佈局的問題源於您嘗試過的無效解決方案,即設定'float ' 屬性向左移動。更有效的方法需要對清單項目使用“inline-block”顯示屬性。這是包含此修復的程式碼的修訂版本: display: inline-block; /* You can also add some margins here to make it look prettier */} some item another item > ;