wisatbff
V2EX  ›  问与答

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

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

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