Results 1 to 3 of 3

Thread: Border for thumb, but not for enlarged pics

  1. #1
    Join Date
    Oct 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Border for thumb, but not for enlarged pics

    Hi there,
    I am creating a gallery at the moment, based on this:

    http://www.dynamicdrive.com/style/cs...image-gallery/

    So far it works well, but I've got a question:
    Is it possible to have a border show up on the one thumbnail which you hover over, but at the same time NO border on the enlarged pic.
    I already managed to get rid of the dashed line on the enlarged pic, but when I try to get rid of the blue line, it also disapears on the hovered thumb.

    Best Regards,
    Benny

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Where it has:

    Code:
    .thumbnail span img{ /*CSS for enlarged image*/
    border-width: 0 !important;
    padding: 2px;
    }
    Add the keyword !important as shown.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    many thanks!
    It works =)

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
  •