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!

Nevermind, figured out a fix :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.