CSS Property:
background-size:

Result:
CSS Code:
div {
    background-image:url('smiley.gif');
background-repeat:no-repeat;
background-size:auto;
}
Click the property values above to see the result
w3ii.com - Play it