New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "transform: scale" for IE 6 – 8 #2

Open
ingozoell opened this Issue Sep 4, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@ingozoell

ingozoell commented Sep 4, 2013

Hi, great tool!

I added some code to make "transform: scale" work in IE 6 – 8, too (tested in IE 7 and 8).

<!-- index.html 
Add "transform: scale" for IE 6 – 8 via http://www.useragentman.com/IETransformsTranslator/ -->
<!--[if IE 8]>
<style> 

.desktop iframe {
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.3181, M12=0, M21=0, M22=0.3181, SizingMethod='auto expand')";
}

.laptop iframe {
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.277, M12=0, M21=0, M22=0.277, SizingMethod='auto expand')";
}

.tablet iframe {
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.234, M12=0, M21=0, M22=0.234, SizingMethod='auto expand')";
}

.mobile iframe {
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.219, M12=0, M21=0, M22=0.219, SizingMethod='auto expand')";
}

</style>
<![endif]-->    


<!--[if lte IE 7]>
<style>

.desktop iframe {
    filter: progid:DXImageTransform.Microsoft.Matrix(
    M11=0.3181,
    M12=0,
    M21=0,
    M22=0.3181,
    SizingMethod='auto expand');
}

.laptop iframe { 
    filter: progid:DXImageTransform.Microsoft.Matrix(
    M11=0.277,
    M12=0,
    M21=0,
    M22=0.277,
    SizingMethod='auto expand');
}

.tablet iframe {
    filter: progid:DXImageTransform.Microsoft.Matrix(
    M11=0.234,
    M12=0,
    M21=0,
    M22=0.234,
    SizingMethod='auto expand');
}


.mobile iframe {
    filter: progid:DXImageTransform.Microsoft.Matrix(
    M11=0.219,
    M12=0,
    M21=0,
    M22=0.219,
    SizingMethod='auto expand');
}

</style>
<![endif]-->
@justincavery

This comment has been minimized.

Show comment
Hide comment
@justincavery

justincavery Oct 29, 2013

Owner

The code has been updated but someone mentioned they were still having issues. If you get a chance to retest on the site perhaps you could point out where I might have gone wrong.

Owner

justincavery commented Oct 29, 2013

The code has been updated but someone mentioned they were still having issues. If you get a chance to retest on the site perhaps you could point out where I might have gone wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment