eugenii / jqueryrotate

Automatically exported from code.google.com/p/jqueryrotate
1 stars 0 forks source link

Can't use negative margin to overlap rotated images in IE 8 or less #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. rotate several images next to each other
2. use negative margin to overlap them

What is the expected output? What do you see instead?

I'm expecting them to overlap each other slightly, as they do in Firefox or IE 
9. Instead the images just sit next to each other.

What version of the product are you using? On what operating system?

Windows 7, using version 2.2 of rotate code. This only occurs in IE 8 or older.

Please provide any additional information below.

You can see this happening here: 
http://www.netrixcreative.com/clients/mamas/become-a-donor/

Original issue reported on code.google.com by rebecca....@gmail.com on 23 Apr 2012 at 7:14

GoogleCodeExporter commented 9 years ago
Huh I checked on IE7 and it works fine for me, I need to find IE8 somewhere ;)

Original comment by wil...@gmail.com on 24 Apr 2012 at 9:41

GoogleCodeExporter commented 9 years ago
I checked on my IE8 on Windows 7 and it also works quite ok!:(

Original comment by wil...@gmail.com on 24 Apr 2012 at 11:56

GoogleCodeExporter commented 9 years ago
Yeah, I ended up putting the image in a div, and using the negative margin on 
the div, rather than the image. Hope that helps anyone else that runs into this!

Original comment by rebecca....@gmail.com on 24 Apr 2012 at 3:13

GoogleCodeExporter commented 9 years ago
Yes, the problem is that if you set margin on img element it will later on will 
be replaced (in IE7-8) to different element that does not support nicely margin 
attribute. Your solution to put image into a div is a official way how I 
encourage to fix positioning issues with jQueryRotate :)

Original comment by wil...@gmail.com on 24 Apr 2012 at 3:15

GoogleCodeExporter commented 9 years ago

Original comment by wil...@gmail.com on 24 Apr 2012 at 3:15