07.03.19 by Ahmad Maher display only one line from text in div use this css code: text-overflow: ellipsis; overflow: hidden; white-space: nowrap;