forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: clubvibe on September 08, 2005, 05:42:38 pm
-
hi there,
i've some problems on table width's .
i want to fit in copper mine in my website. Ik looks like this now: http://www.zoetermeer9.nl/site/index.php?id=94
i can't seem to get it fit.
i tried to resize it with the admin-config
i tried to resize it within my template.html
i tried to reszie it within my theme.php
nothing works. Can someone tell me how to get a fit?
thnx in advance.
-
Try using less columns in both the 'Album list view' and 'Thumbnail view' in your config.
And that is a modified theme, not classic.
-
Looks like you have some hardcoded widths in your theme.php file. Try replacing numbers like width=600, 500, 520, etc with percentages.
Dennis
-
thnx for the reactions!
It's a slightly stripped version of classic with some diffrent css.
I'll take a look over the theme.php again for static sizes.
I tried the album and column numbers nut that didn't do the trick :(
any other suggestions? should i post the code for my theme.php and template.html?
Edit: I changed EVERY table setting (as experiment) to 80% in my theme.php and the page still doesn't fit! Do i have to change things in the index.php?
-
I don't know if modifying index.php would help any. I'd try looking at the table settings in your template.html first.
Dennis
-
i set them to 80% as well. without any result :(
Any other idea's? it's a rather strange kind of bug
-
i found the error! it was in my CSS file.. STUPID me! thnx for the support.
request to close
-
i found the error! it was in my CSS file.. STUPID me! thnx for the support.
Ah. That was going to be my last suggestion. But when I looked into mine (which is already heavily modified) I didn't see what it could be right off the cuff. So what did you finally change to get your CPG theme to fit snugly into your frame?
Dennis
-
for some kind of reason i assigned my body tag in my css to be 740 px .... so i changed it to 100% and there it was. the solution. So a tip to you all.. don't change your px in the body ;) :P