Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS positioning issue with jQuery Re: CSS positioning issue with jQuery

#108142
croydon86
Participant

Andy your a star!

That is spot on. I foolishly was thinking about the child-parent element but of course the latest news button was not a child, so your right, they both need to be animated.

I have just done some messing about here made the button the child element, and of course, it now works that way also… http://codepen.io/anon/pen/Dapms

Only problem with this though is I can’t see why z-index isn’t working on the button, so it is behind the grey .box and drop shadow.

Do you see why thats not working? The main problem is already fixed, this is just out of curiosity.