Results 1 to 2 of 2

Thread: CSS Image Gallery Positioning

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS Image Gallery Positioning

    Hi,

    I copied the code as shown at this link - http://www.dynamicdrive.com/style/cs...image-gallery/ .

    It works perfectly with almost no problems. The only problem is that when I scroll down to view more thumbnails, the large picture is displayed in the same location near the top and off the page.

    How can I have the large picture always display in the viewable area?

    Thanks in advance

    Al
    Last edited by Snookerman; 04-22-2009 at 01:55 PM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I was able to fix this by dumb luck. I added a position: fixed as shown below. It works differently on Firefox and IE6 but (I prefer Firefox) but IE6 is acceptable.

    Code:
    .thumbnail:hover span{ /*CSS for enlarged image*/
    visibility: visible;
    position: fixed;
    left: 60%; top: 5%;
    z-index: 50;
    }
    Last edited by Snookerman; 04-22-2009 at 01:54 PM. Reason: added [code] and [icode] tags

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
  •