V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
chengqiang1992
V2EX  ›  问与答

求教: 网页中如何实现将一个按钮做在一条横线中间,如下 ---------------------------------按钮----------------------------

  •  
  •   chengqiang1992 · 2015-08-22 14:42:10 +08:00 · 1775 次点击
    这是一个创建于 3171 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2015-08-22 16:02:39 +08:00
    chengqiang1992
        1
    chengqiang1992  
    OP
       2015-08-22 14:44:54 +08:00
    <hr><button type="button"> 审核通过</button><hr>
    这样的话,很明显会换行。应该怎么办呢?
    coffce404
        2
    coffce404  
       2015-08-22 14:48:32 +08:00
    hr {
    margin: 0
    }
    suinia
        3
    suinia  
       2015-08-22 14:49:33 +08:00   ❤️ 1
    <hr /> <button type="button"> 审核通过</button>
    button {height:40px;margin-top:-20px}
    chengqiang1992
        4
    chengqiang1992  
    OP
       2015-08-22 16:02:39 +08:00
    @coffce404
    @suinia 谢谢两位了。谢谢。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   887 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:28 · PVG 04:28 · LAX 13:28 · JFK 16:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.