Daily Archives: August 27, 2014

Directory Layout opinions needed

Ok, Internet. I have two options, both of which have their upside/downsides, and I need your feedback. I’m working on the new directory layout for LibraryBox, and need to break long names, especially those without spaces in them, because it does crazy things with the layout. Here’s an example of what the layout looks like without the hard-break behavior:

Photo Aug 27, 2 59 58 PM
Without Hard Break CSS

 

And here’s the same directory listing, WITH the hard-break CSS behavior in place:

 

Photo Aug 27, 3 00 20 PM
With hard break CSS

Better, right? Except then you get weird things like this:

 

Photo Aug 27, 2 59 50 PM
Text with spaces, no hard break CSS

 

 

Photo Aug 27, 2 59 18 PM
Text with spaces, with hard break CSS

 

Text that DOES have spaces, and would normally break across them, instead breaks at the arbitrary point where it hits the wall of the container.

So what’s your vote: With or Without the hard break CSS? The text in question will be all over the place, as it’s whatever filenames people use for the files they put on a LibraryBox…could literally be any text in the world. So I can’t predict…and it’s in CSS, so I don’t really have a way to detect spaces and do an if/then with it. Anyone have any ideas?