I want to resize the images so they occupy all the 170px and show the most of the image. Is it possible just with css?
Um, width 100%? No?
no, there is the problem if the image with more height that width..
I tried with width:100% and still not working..
You can’t have it both ways, either they scale to the width or the height.
Simple answer, size your images appropriately before using.
Assuming that they will all be bigger than 170×170 you could put it on the background: http://jsfiddle.net/pzFKD/4/
You must be logged in to reply to this topic.