Page 1 of 1

Image Border

Posted: Fri Jun 12, 2009 10:27 am
by shreadsoft
Hi Norman,

I'm installing lightbox for a customer and have a class for adding a 1px border around images. I added to the lightbox code to add around each thumbnail but there is margin above and below the image which the border also goes around. I can't locate where this is occurring, could you point me in the right direction please?

Thanks,
Nick Shread
Shreadsoft Ltd

Re: Image Border

Posted: Fri Jun 12, 2009 2:27 pm
by shreadsoft
Hi Norman,

Not to worry, I think I've worked out my own answer. It's not putting a margin on, it's the thumbnail itself that has the white spacing - owing to the original being a different footprint to the square shape of the thumbnail. I'll have to leave them without borders.

Regards,
Nick Shread
Shreadsoft Ltd.