CSS overflow and word-wrap behaviour not helping me at all
Posted
by henriquev
on Stack Overflow
See other posts from Stack Overflow
or by henriquev
Published on 2010-02-19T08:16:31Z
Indexed on
2010/04/16
1:03 UTC
Read the original article
Hit count: 657
You can see how the filename field should look at http://www.plifk.com/henvic/114 and how it breaks the layout at http://www.plifk.com/henvic/159
If I used 108574main-neutron-star-and-a-very-bad-overfow-will-happen-here-so-sad.mpg I would not get an overflow, but in the first line "108574main-neutron-star-and-a-very-" and in the second line a "bad-overfow-happens.mpg". What can I do to avoid getting an overflow?
Please know that I don't want to use quirks (like PHP's wordwrap, neither JavaScript if possible) and I've tried some ways in CSS with word-wrap, etc, but nothing worked out.
I've also tried word-break: break-all (tested on Firefox only) but it didn't work also.
Even the overflow: hidden; is not working... I'm not very familiar with web designing (indeed I try to do everything by the standards, etc) and I'm completely lost right now.
The uncompressed CSS file can be seen at http://pastebin.ca/1802451
Now... I really understand that this is expected once the word-wrap is supposed for text, not characters. But hey, even with break-all it doesn't do anything. How can?
Thank you very much in advance.
© Stack Overflow or respective owner