Results 1 to 3 of 3

Thread: Move up the Next/Previous Buttons

  1. #1
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Move up the Next/Previous Buttons

    1) Script Title: Lightbox image viewer 2.03a

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm

    3) Describe problem:

    #1 How do you move the Next and Previous buttons up more? Right now they are about a 1/2 inch down the picture, but i would like to see them at the very top, or almost at the very top.

    #2 The box that contains the close button does not match up with the image above. It is slightly skinner so they do not line up with each other. This ONLY happens in IE, so there is a bug. Does anyone know the fix?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    To move the prev/next buttons more upwards, inside lightbox.css, try changing the below two values in red:

    Code:
    #prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
    #nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
    Try a value of 5% instead for example.

    The box that contains the close button does not match up with the image above. It is slightly skinner so they do not line up with each other. This ONLY happens in IE, so there is a bug. Does anyone know the fix?
    Hmm for me, everything looks aligned, in IE8 at least. Does your page contain a valid doctype at the top?
    DD Admin

  3. #3
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah #1 worked great and thank you.

    As for #2, it does have doct type. Still couldn't figure out why it only had that error in IE so we have an advanced programmer fix it. I am trying to find out what he did so I can post it here for others.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •