Thanks for the report Glenn. I'm going to do some testing and see what
I can figure out.

--
Brandon Aaron

On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am seeing some behavior in IE that I don't understand and that I don't see 
> in Firefox.
> The offset is being shifted by the margins of the body. If I explicitly set 
> the body to
> have no margin, it lines up, if I just leave the default, it is shifted. I 
> can demonstrate
> it with:
>
> <html>
> <head>
> <script src="jquery.js"></script>
> <script src="dimensions.js"></script>
> <script>
>
> $(document).ready(function()
>         {
>         var offset = {};
>         var options = {}
>         $("#bar").offset(options, offset);
>         $("#movetest").css(offset);
>         });
> </script>
>
> <style>
> #movetest{ height: 100px; width: 100px; background: #dddddd; border: 1px 
> solid black;
> position: absolute;}
> #bar {height: 100px; width: 100px; background: #eeeeee; border: 1px solid 
> #dddddd;}
>
> </style>
> </head>
> <body>
>
> <div id="bar">
> </div>
>
> <div id="movetest">
> </div>
>
> </body>
> </html>
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to