SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The incredible case of the vanishing Border :-(

    Buongiorno from about to rain 12 Degrees C Wetherby UK :-)

    On this page http://tutorial.davidclick.com/davidclick.html & illustrated here:
    http://i216.photobucket.com/albums/c...psf3209038.jpg the grey border bottom dissapears. I'll be honest i cant get my head around why.

    Any insights welcome :-)
    David
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,610
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Hi, Zygoma.

    Just glancing at the code...

    The images in the slider have a height of 250px. Cool.

    The height of their container, .pics, has a height of 250px. Hmmmmmmmm.

    Looking back at the images......

    The images are surrounded by padding:2px and a border of 2px, which adds to their dimensions, so their container needs to have a height of 258px.

    Give .pics a height of 258px and magic happens <smile>.

    Cheers.

  3. #3
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Ron Pat, yep that fixed it, bit annoyed with my self for not spotting that :-(
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  4. #4
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,610
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    No probs, David. We all know that feeling well. Glad to help.


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
  •