IE seems to be trasfoming after rotating text wirh css filter

Discussion in 'CSS' started by Mike224, Oct 13, 2010.

  1. #1
    The issue is that when I try to rotate text with IE, the text seems to the left

    The CSS that I'm using to rotate is here (I also have an opacity filter):

    		-webkit-transform: rotate(-90deg);
    		-moz-transform: rotate(-90deg);
    		-o-transform: rotate(-90deg);
    		-moz-opacity: 0.3;
    		-khtml-opacity: 0.3;
    		/* for ie */
    		filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3), progid: alpha(opacity=30);
    		opacity: .3;
    Code (markup):
    An example of the rotated text can be seen here (on the sliding banners):
    rightsfortenants.co.uk

    The view in IE is completely different to the view in other browsers. I've tried all sort (floating to the left, changing the widths / wrapping the rotated text in divs and transforming them) ... but to no avail.

    The only real solution that I can see it to write a completely different top/left off-set just for IE using an IE hack
    eg -left: -right:

    Does anyone know what the issue is? Does IE rotate differently than other browsers, should I be using something else?
     
    Last edited: Oct 13, 2010
    Mike224, Oct 13, 2010 IP
  2. Mike224

    Mike224 Well-Known Member

    Messages:
    80
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #2
    ah well

    I ended up using

    to get around this issue, I've still no idea why IE rotates so differently
     
    Mike224, Oct 13, 2010 IP
  3. GWiz

    GWiz Peon

    Messages:
    359
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    GWiz, Oct 13, 2010 IP
  4. Mike224

    Mike224 Well-Known Member

    Messages:
    80
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #4
    cheers, you know, I ended up writting a different css hack for each version of IE! Every single one of them acts differnetly than other browsers ... esh!
     
    Mike224, Oct 14, 2010 IP