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

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

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

导航