[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 814
  • Last Modified:

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
0
shaggy_the_sheep
Asked:
shaggy_the_sheep
  • 2
1 Solution
 
GrandSchtroumpfCommented:
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

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now