SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,645
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    spacing using css3

    I dont understand why such a large space is between each image,
    http://www.nikelantiquedolls.com/rea...files.php?id=3
    (arent the images scaled down?) how can I get a 10-20px spacing betwwn each image in that list?

    Thanks
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    SitePoint Addict
    Join Date
    Jul 2011
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's because you are scaling your images down with the transform property. If you remove the scaling on ".hovergallery img" it shows the proper size and spacing. It seems that when you scale down using transform it retains the image's original sizing. Not really sure why.


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
  •