We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23299
    • 1,161 Posts
    Quote from: beejay at Jul 17, 2007, 04:47 AM

    Quote from: pixelchutes at Jul 17, 2007, 02:42 AM

    Could you not take the CSS further and apply directly to img ? This way you can still "crop", only at the image-level rather than the container...let us know!


    This seemed to work for me:

    .thumbscontainer .thumbs li img{
        display:block; width:128px; height128px; overflow:hidden
    }
    



    It just squeeze the pictures for me, looks very bad :S So i dont think it is a good idea...


    I think this code should read :
    .thumbscontainer .thumbs li img{
        display:block; width:128px; height:128px; overflow:hidden
    }



      • 7455
      • 2,204 Posts
      no that is not the way to go
      you need to remove the img
      make li a block element

      .thumbscontainer .thumbs li {
          display:block; width:128px; height:128px; overflow:hidden
      }
      
        follow me on twitter: @dimmy01