Can you post more example code? Everything looks normal alright, but
its hard to really tell without know what is invoking
"positionCharacter" or what "ratingToY" or "relPosToX" are retuning.
On a side note, you might want to looking into making this code a
jquery plugin. You could then invoke it like this:
$('div div').positionCharacters();
This is assuming that "div div" selects the internal divs.
--Howard
On Mar 18, 11:57 am, Paul Carey <[email protected]> wrote:
> Hi
>
> I've a page with an absolutely positioned div containing a few dozen
> absolutely positioned divs.
>
> The positioning is performed by $(document).ready(). The positioning
> code looks something like:
>
> var positionCharacter = function ($character) {
> $character.css("display", "block");
> $character.css("top", ratingToY($character));
> $character.css("left", relPosToX($character));
> };
>
> Maybe one time in 100, the character positions are wrong in Safari 3
> (OS X). They're aligned in a vertical line in the center of their
> containing div, although their individual vertical positioning is
> wrong.
>
> I've never seen this issue in Firefox. I've observed the failure in
> Safari from jQuery 1.2.6 through to 1.3.2. I'd like to try debugging
> it, but I'm not really sure where to begin. Any advice appreciated.
> Thanks
>
> Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---