When an element is position:absolute
and right:[whatever]
, trying to get $("#div").css("left")
returns the rendered left
value, and not auto
like I'd expect. I've set up a test here: http://jsbin.com/ayesat/1/ In Chrome it alerts "auto", but Firefox alerts a px
value.
Any way to force Firefox to return whatever is set in the css style?