css保留用户输入的空格和换行

.content {
white-space: pre-wrap;
*white-space: pre;
*word-wrap: break-word;
}

posted on 2013-06-17 19:01  西红柿  阅读(333)  评论(0)    收藏  举报

导航