[Classic] can't get the tables smaller [Classic] can't get the tables smaller
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Classic] can't get the tables smaller

Started by clubvibe, September 08, 2005, 05:42:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clubvibe

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.

Casper

Try using less columns in both the 'Album list view' and 'Thumbnail view' in your config.

And that is a modified theme, not classic.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

artistsinhawaii

Looks like you have some hardcoded widths in your theme.php file.  Try replacing numbers like width=600, 500, 520, etc with percentages.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

#3
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?

artistsinhawaii

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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

i set them to 80% as well. without any result :(

Any other idea's? it's a rather strange kind of bug

clubvibe

i found the error! it was in my CSS file.. STUPID me! thnx for the support.

request to close

artistsinhawaii

Quote from: clubvibe on September 10, 2005, 05:10:16 PM
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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

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