Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unable to rotate the div by an angle (i.e.,90, 180,270, 360 degrees) in Firefox

    Hi Team,

    We are unable to rotate the div by an angle(90, 180,270 etc) in firefox browser where as it works in Internet explorer.

    Please find the below code for Internet explorer.
    var div= document.getElementById('contentTest');
    div.style.filter = "progidXImageTransform.Microsoft.BasicImage(rotation=3)";

    Can u please provide us the approach inorder to rotate the div in mozilla firefox.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    Not an endorsement, but seems to work ...

    Cross-browser image rotation with JavaScript and CSS


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •