CSS spread< li>水平地跨< ul> [英] CSS spread <li> horizontally across <ul>
本文介绍了CSS spread< li>水平地跨< ul>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图使用 float:left
来散布< li>
有没有人知道这是怎么做的?
$是否有一些原因,你不能只是将它们设置为 display:inline;
(或 inline-block
)?例如:
I'm trying to spread a list of <li>
's aligned horizontally using float:left
across my <ul>
.
Does anyone have any idea how this is done?
解决方案
Is there some reason why you can't just set them to display: inline;
(or inline-block
)? For example:
这篇关于CSS spread< li>水平地跨< ul>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文