标签: css
以下背景中的“行分隔符”是什么意思:Block elements is generating line separator after and before their blocks.你能告诉我一个例子吗?
Block elements is generating line separator after and before their blocks.
答案 0 :(得分:1)
这意味着它们占据了整行的宽度。元素之前或之后的每条内容都将显示在display:block元素底部的顶部。看到这个小提琴http://jsfiddle.net/hc85E/。您可以这样思考:<br/> block element <br/>
display:block
<br/> block element <br/>