width() and height() function failure
|Reported by:||dbzprogrammer||Owned by:|
I've been developing a slideshow for a contracted project, and I've found that the width() and height() function set the style attribute for the selected elements. This is fine; however, it seems that once the style attribute is set, width() and height() won't search any deeper than the elements blank style attribute for CSS styles.
I retrieve the height of an element with height() and the style tag becomes set to "", though the CSS class has plenty of stylization (including height). I later go to call height() again, and I get 0 for the height. The style attribute may have other CSS styles set, such as width, position, or display.
I've found a workaround, but I figured I'd let you guys know.