PDA

View Full Version : Firefox text wrapping suggestion


dlacourse
10-29-2006, 01:29 AM
I got problems on Firefox on link details (and not only). If url string is too long (he can't be wrapped by FF due to fact he no spaces in it) will messup interface by moving all right side outside of right side of the page...

ANyone has any idea about how to solve this (maybe through css ?). Of course, is possible to cut url string (to a fixed number of characters), but maybe there are other ways.

Thanks,

redeye
10-29-2006, 08:46 AM
Please post url to site

dlacourse
10-29-2006, 11:28 AM
http://www.3dcadtutorials.com/index.php?category=1236

Is a well know Firefox problem, i experienced on other sites too, but here is annoying...

Sergey Ten
10-29-2006, 03:51 PM
Hello dlacourse,

I think it will help you:

*** Open your link-display.tpl ***
*** Find 21 line ***


<div class="url">{$link.url}</div>


*** Replace with ***


<div class="url">{$link.url|truncate:40}</div>


*** Save change ***

dlacourse
10-30-2006, 07:02 PM
Thanks,

It solved my problems.

Sergey Ten
10-31-2006, 03:58 PM
I am glad to help you dlacourse :)