replace images by CSS style