2 replies [Last post]
SileNce
Offline
newbie
Last seen: 43 weeks 3 days 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: 43 weeks 3 days 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: 16 hours 21 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9734
Points: 3813

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.