What is wrong with this code?


<style type="text/css">
	img.rotated180 {
    /* CSS3 then proprietary code */
    rotation: 180deg;
	/* for firefox, safari, chrome, etc. */
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
	/* for ie */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
</style>
<img src='images/22.gif' class='rotated180'>


When i use this in a separate page, it is showing correctly in both IE and Mozilla.
but when i used this code in another page to rotate an image, it is not working in IE, in Mozilla it is fine.

Why?

Thank you for your guidance.

What makes you think this is related to PHP? :stuck_out_tongue: