treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Rotate an element in IE

  • I need a way to rotate div in IE.
    In Safari and Firefox 3.5 you can use:

    -moz-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);

    But I don't know how to make the div rotate in IE.

    I've seen the Mircosoft Matrix filter (http://msdn.microsoft.com/en-us/library ... 85%29.aspx), but don't understand how it works.

    Any help would be appreciated.
  • As far as I know, you can't without using some javascript.
  • I just did a quick search and found this http://wilq32.googlepages.com/wilq32.rollimage222 which actually looks pretty cool. I may have to look for an excuse to use it somewhere myself. :D
  • Thanks for the link. I've seen that before. I was just wondering if it could be done in CSS. Guess not, but thanks for the help. :)