| View previous topic :: View next topic |
| Author |
Message |
Oswaldt
Joined: 21 May 2010 Posts: 46
|
Posted: Jul 12, 2010 1:48 am Post subject: Download page problem |
|
|
The download information box...is there a way to set it to a specific size? right now it's resizing itself to fit the filename.... it's messing up the formatting of the page.
Is there a way to make is static? |
|
| Back to top |
|
 |
nik0la
Joined: 30 Dec 2009 Posts: 102
|
Posted: Jul 19, 2010 12:42 am Post subject: |
|
|
i try this to but i simply cant i try to edit table width i try to edit css file with width but when larger file name needs to be displayed table just get resized |
|
| Back to top |
|
 |
naga
Joined: 22 Dec 2008 Posts: 45
|
Posted: Jul 19, 2010 9:35 am Post subject: |
|
|
Easy way:
you need to change the table to a div with a fixed width, and you can also use the overflow:hidden attribute to not display stuff going out of the div
Hard way:
edit the index.cgi file to make another variable ($file2 or something) and do something like if(length $link > 64) $file2 = substr $link, 64; else $file2 = $link;
then in your download template you can use just the $file2 variable or use it with a js expand box or whatever you want.. |
|
| Back to top |
|
 |
|