开发者

wordwrap problems on a webpage

how do i make sure that on my forum when people submit posts, i do not have th开发者_运维知识库is problem of a HUGE unwrapped string as seen on this posting:

best practice for developing webpage for mobile phone


{
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}


On StackOverflow you can do it manually like this:

Here is my link

So potentially you could write a routine that just substitute Link Here as the description, instead of the URL.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜