Skip to content

CSS code snippet – How to make text come in one line ?

<!DOCTYPE html>
    <title>Title of the document</title>
      div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
      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.
See also  How to return paragraph in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.