CSS spread< li>水平地跨< ul> [英] CSS spread <li> horizontally across <ul>

查看:134
本文介绍了CSS spread< li>水平地跨< ul>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用 float:left 来散布< li>



有没有人知道这是怎么做的?

$是否有一些原因,你不能只是将它们设置为 display:inline;

(或 inline-block )?例如:



http://jsfiddle.net/TKmR5/


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:

http://jsfiddle.net/TKmR5/

这篇关于CSS spread&lt; li&gt;水平地跨&lt; ul&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆