Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 cfdocument 中使用了一个 hr 标签,它显示得很厚,如下所示
我只想要一条基本的细线。我尝试将样式设置为 hr{ height:0} ,但没有帮助。请指教。
<p>blah</p> <hr /> <p>blah</p>
将边框设置为无,然后设置边框顶部属性:
hr { border:0 none; border-top:1px solid #000 }
JSFiddle 演示