Page 1 of 1

weird file name problem

Posted: Sat May 10, 2003 3:52 pm
by m3mn0n
when i call a file name for a file manager i'm making, any file with a dash in it's name will be seperated into different lines.

eg. file = test-ing.php

output:

test
-
ing.php



The table cell has way more than enough room too. I can't find a fix for this yet, anyone have any ideas?

Posted: Sat May 10, 2003 11:05 pm
by m3mn0n
...:?....

Posted: Sun May 11, 2003 2:50 am
by pootergeist
the <nobr> no-break tag perhaps?

echo '<nobr>this text cannot be seperated to two lines</nobr> this text can though';

Posted: Sun May 11, 2003 12:55 pm
by m3mn0n
Thanks for the suggestion, i'm not sure what i did but i fixed it already. :wink: