0

I had a text rotated in all browsers except in IE8. I tried to use this method (matrix):

-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-2.755455294239536e-16, M12=-1.5, M21=1.5, M22=-2.755455294239536e-16, SizingMethod='auto expand')";

but it didn't work !! can someone help? is there anything new about this issue?

Raptor
  • 53,206
  • 45
  • 230
  • 366
UI Developer
  • 183
  • 1
  • 1
  • 8

3 Answers3

0

IE8 won't support most of the mordern features. Try if mordernizr js helps..

http://modernizr.com/

winnyboy5
  • 1,486
  • 3
  • 22
  • 45
0

You may try some thing like

-ms-transform: rotate(-90deg);

90deg value need to be adjusted as per your requirement

original article as follows http://css-tricks.com/snippets/css/text-rotation/

there is also a hack for older IE version as follows

-sand-transform: rotate(10deg);

more info here CSS3 transform: rotate; in IE9

Hope it helps!

Community
  • 1
  • 1
Pravin W
  • 2,451
  • 1
  • 20
  • 26
0

you have to use filter property for supporting IE8. Here is the Demo.

you can change the degree by by defining the integer value (0,1,2,3)

div
{
  width:150px;
  height:150px;
  -ms-transform:rotate(9deg); /* IE 9 */
  -moz-transform:rotate(90deg); /* Firefox */
  -webkit-transform:rotate(90deg); /* Safari and Chrome */
  filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1); /*FOR IE8*/
}

enter image description here

Kheema Pandey
  • 9,977
  • 4
  • 25
  • 26