How to display images with CSS, and a certain percantage of the image cut out

1

Assume that the original picture is 500px in height and 400 px in width. I want to display this picture in website such that only 480px in visible in height. Is this possible using css?

Thanks a lot in advance.

john kayne

Posted 2012-07-06T02:43:59.030

Reputation: 13

Question was closed 2012-07-18T00:40:39.987

Answers

0

You need to put your image as background to a div/span and change size of div/span to your desired size

AaA

Posted 2012-07-06T02:43:59.030

Reputation: 116