So I'm trying to access the .css('height') of an element and it keeps returning 0px regardless of what it's height is. I've put a couple alerts to see what it gets in the $(document).ready() function so it should be accessible by then. The height property is being set in the actual css file, not dynamically so I don't know why it's giving the wrong thing back.

Here is the location: (the 2 alerts are heights for the elements #taskbar and #taskbar_holder. I'm running those from taskbar.js line 11 and 12)

Thanks in advance for any help!