Remove extra spaces from CSS inline element

雨燕双飞 提交于 2019-12-09 05:46:28

this is because your <li>'s (or <ui>'s but i suspect that's a typo) are displayed as inline. You could do something like this:

li {
 display: block;
 float: left;
}

this should prevent the whitespace from appearing

I would recommend changing your <ui> tags to <li> as that is what you want I think, <ui> is not a valid tag. This will probably fix it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!