2 replies [Last post]
SileNce
Offline
newbie
Last seen: 1 year 23 weeks ago
Timezone: GMT+3
Joined: 2018-06-21
Posts: 2
Points: 5

I think that it's very simple, but I just don't know how to do it.
I have a text that suppose to be in one line, but it's over two lines.
How do I fix it with only CSS?

SileNce
Offline
newbie
Last seen: 1 year 23 weeks ago
Timezone: GMT+3
Joined: 2018-06-21
Posts: 2
Points: 5

SileNce wrote: I think that

SileNce wrote:

I think that it's very simple, but I just don't know how to do it.
I have a text that suppose to be in one line, but it's over two lines.
How do I fix it with only CSS?

AttachmentSize
Screenshot_1.png 48.7 KB
gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 15 hours ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9745
Points: 3824

Use

{white-space: nowrap;}

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.