swapnesh swapnesh - 4 months ago 8x
HTML Question

Image transformation via CSS not applied in Chrome & IE

This is my code and working fine in Firefox, however its not working in the required format what FF showing this time in chrome and IE.

When page load it shows even in Chrome but after that all transformation stops working, let me know what I am doing wrong or how do i fix it.

NOTE- I know

does not exists here, but I am sure this wont hurt still for the fix.

Fiddle - Star Fix

FF screenshot (Require)


Chrome screenshot(Not correct)



It does make a difference that blank.jpg does not exists here, Firefox handles the image as 0x0 but Chrome handles it as 50x50 because thats what you set in the <img> Tag