how to make text come in one line css

Solutions on MaxInterview for how to make text come in one line css by the best coders in the world

showing results for - "how to make text come in one line css"
Ronnie
04 Jan 2021
1<!DOCTYPE html>
2<html>
3  <head>
4    <title>Title of the document</title>
5    <style>
6      div {
7        white-space: nowrap;
8        overflow: hidden;
9        text-overflow: clip;
10      }
11    </style>
12  </head>
13  <body>
14    <div>
15      Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
16    </div>
17  </body>
18</html>