Ok, it's the overflow = 'hidden' that makes my negatively placed divs  
not so negatively placed it seems.
I haven't tested this apart from my specific example, but is it so  
that negatively placed elements will get "pushed" back in when you  
animate?

Andreas

On Dec 22, 2006, at 12:01 , Andreas Wahlin wrote:

> Actually, seems I lied, it's a one pixel offset problem. My eyes  
> hurt :(
> I'll investigate further ...
>
> Andreas
>
> On Dec 22, 2006, at 11:54 , Andreas Wahlin wrote:
>
>> I have an li-element with some divs inside it to round the corners
>> (2x2 pixel divs with suitable background images to just chip off the
>> border around the li)
>> I use the built in animate to change the height of the li, during the
>> animation, the divs don't work as they should, but as soon as it's
>> over, they "hop into place" functioning like they should.
>> I'm quite sure this comes from a z-index problem, since when I remove
>> the li-border, the "chip-images" stay in correct position, it seems
>> that during the animation, the border gets a higher z-index than the
>> "chip-images". Is this a known problem of sorts?
>>
>> Andreas
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to