wisatbff
V2EX  ›  问与答

v2ex 页面布局成这样是怎么回事?

  •  
  •   wisatbff · Sep 23, 2014 · 3534 views
    This topic created in 4253 days ago, the information mentioned may be changed or developed.
    Firefox 31.0

    7 replies    2014-09-23 23:40:13 +08:00
    kmvan
        1
    kmvan  
       Sep 23, 2014
    挺正常的,没有强制换行。
    kokdemo
        2
    kokdemo  
       Sep 23, 2014
    估计是把代码显示成pre了,所以没有强制换行,把这个line的宽度给撑大了……
    wisatbff
        3
    wisatbff  
    OP
       Sep 23, 2014
    @kmvan 这样真的大丈夫?
    wisatbff
        4
    wisatbff  
    OP
       Sep 23, 2014
    @kokdemo 怎么解决呢
    levon
        5
    levon  
       Sep 23, 2014
    为什么要强制换行呢,我觉得这里不换才是对的。
    就跟windows记事本有个自动换行,于是你再也回不去了,多余的功能
    geew
        6
    geew  
       Sep 23, 2014
    我觉得这里少了个word-break吧
    .reply_content, .topic_content {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    word-break: break-all;
    }
    @Livid
    wisatbff
        7
    wisatbff  
    OP
       Sep 23, 2014
    @levon 不换行可以wrap啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2658 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:09 · PVG 09:09 · LAX 18:09 · JFK 21:09
    ♥ Do have faith in what you're doing.