different style if div text goes in two lines css code example
Example: html css make p div into two lines
line-height:20px;
height:40px;
overflow:hidden;
white-space: pre;
line-height:20px;
height:40px;
overflow:hidden;
white-space: pre;