forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: zac on August 29, 2005, 04:43:31 am

Title: Stopping main table from floating in center
Post by: zac on August 29, 2005, 04:43:31 am
I am tweaking a theme and I encountered this problem where the main table centers itself and the background images (which lie in 3 div tags) are repeating themselves.  It looks ok if you are browsing at 800 x 600 but any more strectched than that and it is completely wonky.  Here is what I am talking about:

http://www.folkphotography.com/client_portraits/index.php

Would I change the .topmenu tag in the style sheet?

Or is it more something I have to change in the theme itself?


Thank you for any help on this.
Title: Re: Stopping main table from floating in center
Post by: snork13 on August 29, 2005, 05:42:10 am
i might try setting the table size in the admin->config to the width of your static background image.

and or background set to no-repeat, background-attachment:center, etc...

-snork
Title: Re: Stopping main table from floating in center
Post by: zac on August 29, 2005, 05:45:37 am
hi Snork.. thanks.

I already tried that.. and it helped.. made the table the right width for my template.   But if you stretch it out the browser beyond 800 px wide the background css repeats itself and the coppermine table floats in the middle of it all.. probably easiest to check out my link and try it for yourself.
Title: Re: Stopping main table from floating in center
Post by: snork13 on August 29, 2005, 05:50:37 am
pm sent
Title: Re: Stopping main table from floating in center
Post by: Joachim Müller on August 29, 2005, 07:10:28 am
http://www.w3schools.com/css/pr_background-repeat.asp
Title: Re: Stopping main table from floating in center
Post by: zac on August 29, 2005, 08:25:41 am
Alright!    Snork fixed it for me and Gaugau you somehow answered my next question... before I asked it.

Thanks a lot

Cheers! :-)