2 replies [Last post]
SileNce
Offline
newbie
Last seen: 24 weeks 4 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: 24 weeks 4 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: 9 hours 8 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9714
Points: 3790

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.