自举标签之间没有间距 [英] No spacing between bootstrap labels
本文介绍了自举标签之间没有间距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,我试图有几个连续的标签,就像这个 上看到这种效果.
In my application, I am trying to have several conecutive labels, like in this jsbin:
Instead, I am getting this:
As you can see, no spacing is present between the labels. This is probably because of a problem in my CSS, but I am unable to find the culprit.
Where is the spacing between labels defined in bootstrap? Knowing that would allow me to narrow the bug-search in my CSS.
解决方案
This has nothing to do with your CSS at all. Just add a space or break the line between your ".label" tags.
This happened to me when the framework I use started to compress the HTML in order to save some bytes.
You can see this effect on this jsbin.
这篇关于自举标签之间没有间距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文