22 Dec 2008

Background Img Tag

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
  background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

I never realized it was possible to set a background to img tags.