chengqiang1992
V2EX  ›  问与答

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

  •  
  •   chengqiang1992 · Aug 22, 2015 · 2625 views
    This topic created in 3954 days ago, the information mentioned may be changed or developed.
    4 replies    2015-08-22 16:02:39 +08:00
    chengqiang1992
        1
    chengqiang1992  
    OP
       Aug 22, 2015
    <hr><button type="button"> 审核通过</button><hr>
    这样的话,很明显会换行。应该怎么办呢?
    coffce404
        2
    coffce404  
       Aug 22, 2015
    hr {
    margin: 0
    }
    suinia
        3
    suinia  
       Aug 22, 2015   ❤️ 1
    <hr /> <button type="button"> 审核通过</button>
    button {height:40px;margin-top:-20px}
    chengqiang1992
        4
    chengqiang1992  
    OP
       Aug 22, 2015
    @coffce404
    @suinia 谢谢两位了。谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   953 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:43 · PVG 02:43 · LAX 11:43 · JFK 14:43
    ♥ Do have faith in what you're doing.