.p-lable{
font-weight:500;
display:block;
float:left;
word-break:keep-all;
width:310px;
height:20px;
line-height:20px;
overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
padding-left:6px;
}
主要是overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
參考:http://www.zhangxinxu.com/study/200909/text-overflow-ellipsis-so-on.html
//設置div滾動條樣式
#p-content{
float:left;
width:415px;
height:492px;
overFlow-y:scroll;
scrollbar-face-color: #C8EFF8;
scrollbar-shadow-color: #C8EFF8;
scrollbar-highlight-color: #F3FDFC;
scrollbar-3dlight-color: #2ABFAA;
scrollbar-darkshadow-color: #2ABFAA;
scrollbar-track-color: #F3FDFC;
scrollbar-arrow-color: #F3FDFC;
padding-top:5px;
}