forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: ortem on September 18, 2005, 05:11:15 am

Title: assistance with table layout
Post by: ortem on September 18, 2005, 05:11:15 am
first, let me start by saying that I really like this software, and I am grateful for the team who works on it and the fact that it is free... and I just noticed today the picture scroll feature where if the image goes beyond the scroll of the page then you are able to slick it to open a new window - very nice - thank you kindly

but

my big issue with coppermine is that fact use of tables... and tables within tables... and tables within tables within tables... I am working to customize a site for the first time and that tables are a bit of a headache to work with

so please, please, please consider making a clean version of coppermine with CSS next time

with that said, can someone please help me to work out how to get the album nav row and the filmstrip row to match the main album table in width... I have been working on this for hours now and I just can't seem to make it work... I tried setting the rows in the theme.php to 100% or 600 pixels (which is the width of the album table) but it is not working... adding another image to the filmstrip row will throw it off and make it wider then the album table so all I need to do is to make the row itself wider rather then fixed - I know how to make the revisions but I can't find the "where"

any helpful suggestions would be appreciated

thank you
Title: Re: assistance with table layout
Post by: kegobeer on September 18, 2005, 05:13:16 am
There are plenty of posts about CSS vs tables.  Please take some time and look around a bit.
Title: Re: assistance with table layout
Post by: kegobeer on September 18, 2005, 05:39:53 am
To change the width of your filmstrip, open up your theme.php file, look for function theme_display_film_strip, then change

Code: [Select]
starttable('');
to

Code: [Select]
starttable('100%');
If you want it tied to the "Width of the table for file display" setting in config, do this:

Code: [Select]
starttable($CONFIG['picture_table_width']);
Title: Re: assistance with table layout
Post by: ortem on September 18, 2005, 06:02:52 am
thank you soooooooooo much for the input... greatly appreciated

I am sure that the css vs. table argument has gone on for a while now but rather than join in I just wanted to state my opinion... perhaps I will jump into the fray another time

thanks again!

 :)