Hi all
I have a div whose width and height are set to 120px and 90px respectively. Now i m showing re sized images in this div. I have an image whose width is 80px and height is 107px, now if i set image width and height to the same as div it solves my problem but it stretches the image and destroy quality of picture.
What i want is that my div should adjust the picture in middle with width of 80px and height of 90px, the remaining width area of div should have background color of black.
Hope it makes sense.