Skip to content
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

Any relative or abs positioning on descendants breaks scale only on IE8 #30

Open
nine-2-five opened this issue Oct 6, 2012 · 0 comments

Comments

@nine-2-five
Copy link

I have a slider with multiple slides that I wan't to scale on window.resize. The problem is with IE8. On all other browsers, including IE7, when the #slider_wrap is scaled, its children are scaled as well.
But on IE8, when I apply the scale transform only the #slider_wrap is resized, none of its children.
After some debugging I found that this happens if any of the children are relatively or absolutely positioned. When all the position rules are removed from children, the scale transform works, but it breaks my slider layout.
This is my slider layout:
#slider_wrap(absolute)
#slider(relative)
#slides(relative)
.slide(absolute)
I must remove all the positioning below #slider_wrap to get scale to work. Is there any help, other than reworking this custom slider that we use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant