This sounds like a IE7 CSS quirk/bug rather than a jQuery/JavaScript problem. Dealing with margins on "inline" content can be tricky.
Karl Rudd On Sun, Jul 13, 2008 at 10:22 AM, Paul <[EMAIL PROTECTED]> wrote: > > Hi all, > I was just wondering if anyone's come across this issue or maybe if > it's been brought up before. I'm currently working on some small > animations and it's seems that Internet Explorer 7 doesn't accept the > marginRight. Unfortunately, IE 7 doesn't really have any good built in > debugger so this took me a while to narrow down but I'm pretty sure > it's because of marginRight. I tried marginLeft and it seems to work > just fine. > > $(this).animate({ > color: "#FFFFFF", > marginRight: "15px" > }, 300); > > This is the code I used to shift something to the left from a (right- > aligned textbody). Can someone look into this? > > As of now, I replaced it with padding since for my purposes, there are > no aesthetic differences. >