Results 1 to 3 of 3

Thread: removing scroll bar from image gallery

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

    Default removing scroll bar from image gallery

    Hi,

    I am trying to make a catalogue based on the css image gallery from the DD site.

    I would like to get rid of the scroll-bar, but cannot understand why it is there without content which goes that a long way down.

    http://b3njamin.cwsurf.de/F1/index.html

    Sorry if it's a stupid question, I am very new at this.

    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

    Two things -

    1. In the css/gallery.css file remove:


      Code:
      <style type="text/css">
      from the top, and

      Code:
      </style>
      from the bottom.

    2. In that same file, add the highlighted as shown:

      Code:
      .thumbnail span{ /*CSS for enlarged image*/
      position: absolute;
      background-color: white;
      padding: 5px;
      left: -1000px;
      top: -1000px;
      border: 0px dashed gray;
      visibility: hidden;
      color: black;
      text-decoration: none;
      }
    - 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

    works perfect,
    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
  •