Results 1 to 4 of 4

Thread: FadeSlideShow 5px TOP/LEFT margin

  1. #1
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default FadeSlideShow 5px TOP/LEFT margin

    FadeSlideShow 5px top-left margin
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I'm getting a 5px top & left margin. So images are 5px from the left top corner of the DIV location.

    How could I get rid of this top/left margin ?

    Thanks in advance

  2. #2
    Join Date
    Mar 2011
    Location
    N 11 19' 0.0012 E 142 15' 0
    Posts
    1,516
    Thanks
    41
    Thanked 89 Times in 88 Posts
    Blog Entries
    3

    Default

    Do you have a link to a website with the problematic code?

  3. #3
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://cosmeticdentalaser.com/visualaser/index.php

    There it is a temp version of it, just for this issue to be illustrated.

    You can see the "5px gap or margin" from top/left "corner"


    Thanks!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,946
    Thanks
    43
    Thanked 3,193 Times in 3,156 Posts
    Blog Entries
    12

    Default

    In your css/main.css stylesheet you have:

    Code:
    img { border:1px solid #ccc; padding:5px; float:left; margin-right:10px; margin-top:5px; margin-top:5px; }
    Add a rule after that:

    Code:
    .gallerylayer img { border-width: 0; padding: 0; float: none; margin: 0; }
    - John
    ________________________

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

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
  •