html css make p div into two lines

CSS
line-height:20px;
height:40px;

overflow:hidden;
white-space: pre;
Source

Also in CSS: