Nested
Nested copied to clipboard
Container needs to be position: static
See what happens if container happens to be position: relativecor anything other than static: http://jsfiddle.net/BdXPL/1/
This could happen if the container has other styles including non-static position. By having the JS overwrite the position, the user can at least know he needs to work around the position and not have to spend half an hour like me trying to see what's fucking up the offset.
Try giving the container a width.
Doesn't have an effect. Fork my fiddle and try.
Oh, you meant the elements add the Y offset of the container to their own.