How to make a
    display in a horizontal row

后端 未结 7 1505
-上瘾入骨i
-上瘾入骨i 2020-11-28 05:29

How can I make my list items appear horizontally in a row using CSS?

7条回答
  •  长情又很酷
    2020-11-28 06:12

    You could also set them to float to the right.

    #ul_top_hypers li {
        float: right;
    }
    

    This allows them to still be block level, but will appear on the same line.

提交回复
热议问题