Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: thumbnail borders  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Bloom

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
thumbnail borders
« 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?
« Last Edit: August 30, 2007, 10:27:44 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: thumbnail borders
« Reply #1 on: August 13, 2007, 12:15:22 am »

Apply whatever you want to the image class, not all img tags, ie.

Code: [Select]
.image {

}

instead of

Code: [Select]
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.
Logged

Bloom

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: thumbnail borders
« Reply #2 on: August 30, 2007, 10:24:55 pm »

It worked, thank you very much!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.