maybe try 15 (number) instead of "15px" (string)?

i am using marginRight with animate and it works in FF, Safari, and
IE7. I'm using a number instead of a string as the value.

On Jul 12, 5:22 pm, 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.

Reply via email to