coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Bloom on August 12, 2007, 11:52:12 PM

Title: thumbnail borders
Post by: Bloom on August 12, 2007, 11:52:12 PM
Hey, I was wondering how to add custom borders to thumbnails? I have tried. but instead it adds borders to ALL the images instead of just the image links, like the thumbnails. Here is an example of what I'm trying to do:

http://christian.fanlounge.org/gallery/displayimage.php?album=random&cat=0&pos=-880

see the way she's only got borders for the image links, but her header has no borders? That's what I'm trying to do, can anyone help please?
Title: Re: thumbnail borders
Post by: Nibbler on August 13, 2007, 12:15:22 AM
Apply whatever you want to the image class, not all img tags, ie.


.image {

}


instead of


img {

}


Note that css is all client side. If you see a site using css in a way you like you can always see exactly how they do it.
Title: Re: thumbnail borders
Post by: Bloom on August 30, 2007, 10:24:55 PM
It worked, thank you very much!