Lightbox script, image not showing well!

Discussion in 'HTML & Website Design' started by cees, Feb 27, 2009.

  1. #1
    Hi there folks,

    i made a website with some images.
    Using lightbox looks great, either the image is showing a bit outside the box,
    what am I doin wrong?

    Thx in advance

    http://dm-kids.com/gallerij.html

    Cees
     
    cees, Feb 27, 2009 IP
  2. Kurg

    Kurg Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #2
    The lightbox is sizing according to the image size however you also have padding and spacing around the image (probably from your css settings). That spacing and padding is moving the image over but is being ignored by the lightbox.

    Remove the spacing.
     
    Kurg, Feb 27, 2009 IP
  3. cees

    cees Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Kurg,

    you're right, but in my CSS i had some padding for all my images. And when i change that, it will help for my lightbox, either not for all the other images.

    Another hint?

    thx

    cees
     
    cees, Feb 27, 2009 IP