Results 1 to 3 of 3

Thread: Lightbox works, but a slight bug

  1. #1
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default Lightbox works, but a slight bug

    1) Script Title: Lightbox

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

    3) Describe problem:

    First of all, my lightbox is working fine, it's just that when I hover over the "Close" button, the box expands a little bit at the bottom, I think it might be something to do with my other CSS for the page but I don't know what to edit to fix it, you can see what I mean here:

    http://www.bombthehills.com/gallerybeta.html

    It expands in all browsers I've tested it in (Opera, IE and FF)

    Hope you can help,

    Thanks,

    Jack.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Set the font size back to 12pt: (on lightbox.css)
    Code:
    #imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;font-size:12pt;
    }
    ...it's affected by this part in your main rule:
    Code:
    a:hover{
    font-weight:bold;
    font-family:arial;
    font-size:14pt;
    }
    Hope that helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Ah nice, thanks

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
  •