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:
http://www.revolutioncms.com/windows-js/ (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!

7 Years
Discussion Span
Last Post by xylude
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.