chengqiang1992
V2EX  ›  问与答

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

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