15
Sep
Apply a background image to an image
this is quite a neat trick, and it can look really good depending on your design and the image you put as background… To get it to work all you need is to apply a padding and display:block; to the image. So the CSS would be: img{ display:block; padding:10px; background-image:url(image.gif); } Here is [...]
Continue Reading →