Force Text to stay on one line

Hi all

I am developing a remote editor for my website, allowing my to edit my site remotely.
This includes a file browser, etc.

I am looking for each filename/folder name to stay on one line. Currently as the line becomes too long then the names spill onto the next line, which doesnt look very nice! :-)

www.fast-chat.co.uk/edit

Thanks in advance

Richard
LVL 5
shaggy_the_sheepAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GrandSchtroumpfConnect With a Mentor Commented:
Add this css:

.files {
      white-space: nowrap;
}
0
 
shaggy_the_sheepAuthor Commented:
You beauty!! :-)

Cheers!

Richard
0
 
GrandSchtroumpfCommented:
note that you could use nested <ul> elements for your file tree.  that should be semantically better.
cheers  :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.