forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: lostemilie on January 19, 2009, 07:14:09 pm

Title: [Solved]: get rid of spacer
Post by: lostemilie on January 19, 2009, 07:14:09 pm
Hi! In my gallery (here (http://www.dave-annable.org/gallery/index.php?cat=25)) I added a border to all images via css but now I also have a border around the spacer.gif. Can anyone tell me how to get rid of it? I already deleted the spacer from the index file but still itīs there.
Title: Re: get rid of spacer
Post by: Nibbler on January 19, 2009, 09:39:59 pm
Instead of using

Code: [Select]
.image {
use

Code: [Select]
a .image {
with a space between the a and .image. That should apply the border to only images that are links and therefore not the spacer.gif.
Title: Re: get rid of spacer
Post by: lostemilie on January 19, 2009, 10:53:51 pm
now I feel stupid LOL
thanks for that, I should have thought of it myself :) it works now. thanks again  :D