This answer by Jaap :
and in CSS :
div.image {
content:url(http://placehold.it/350×150);
}
you can try it on this link :
http://jsfiddle.net/XAh2d/
this is a link about css content
This has been tested on Chrome, firefox and Safari. (I’m on a mac, so if someone has the result on IE, tell me to add it)
you can do this:
and put this into your css file:
div.picture1 {
width:100px; /*width of your image*/
height:100px; /*height of your image*/
background-image:url(‘yourimage.file’);
margin:0; /* If you want no margin */
padding:0; /*if your want to padding */
}
otherwise, just use them as plain