> How can I determine if an absolutely positioned object's
> top,left,right, or bottom has not been supplied?

I think this is related to another unsolved problem, which is to find out if
an element's height or width has (not) been explicitly defined. As you say,
.css() will get the current value but it won't tell you if that was a result
of automatic layout or was explicitly set by a style sheet or explicit style
property on the element.

To find out whether the top property was explicitly set on that one element,
you could look at element.style.top. If top was set using a stylesheet I am
not sure how you would do it; it might be possible to enumerate all the
stylesheets and look for matches but it would be painful.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to