之前的内联clearfix在CSS中
我想在 标记开始之前自动换行。我会尝试一些事情,但不知道该怎么做。
我尝试过:
strong, b {font-weight: bolder;clear:both;display:block;}
?
strong:before, b:before {clear:both;display:block;height:1%}
strong, b {font-weight: bolder;}
有什么解决方案吗
I would like to break the line automatically before a <strong>
tag begins. I'd try a couple of things, but can't find out how to do so.
I tried:
strong, b {font-weight: bolder;clear:both;display:block;}
and
strong:before, b:before {clear:both;display:block;height:1%}
strong, b {font-weight: bolder;}
Is there any solution for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里
http://jsfiddle.net/dxQBy/8/
几周前我了解到了这一点运行新的 microclearfix hack - Nicholas Gallagher
Here
http://jsfiddle.net/dxQBy/8/
I learned about this a few weeks ago after running across A new micro clearfix hack - Nicholas Gallagher
你不是在寻找这样的东西吗?
http://jsfiddle.net/seany789/dxQBy/4/
are you not looking for something like this?
http://jsfiddle.net/seany789/dxQBy/4/