If I have an image - let's say 20 * 20 pixels
I can use this line to resize the image - this will reduce the whole image:
<img src="images/online-dating-main/blinking smile14x14.gif" width="14" height="14"/>
How to do it using CSS?
I tried this, but it just crop the image:
<div id="smile"></div> div#smile { background: url(../images/online-dating-main/smile.gif) no-repeat 0 0; width: 14px; height: 14px; }
How to resize using CSS?
THX
source share