Hi

Is there any way to force .left() to return pixel values for Opera 9?

The element in question is absolute right positioned, while Opera 8.5 
and Firefox return a pixel value, Opera 9 returns 'auto'. This is surely 
a correct value in this context but mostly if  you want the left value, 
you want a pixel value to reuse it somewhere. Is there any way to change 
this behavior via a Plugin or in jQuery Core directly?

Which results in my next Question, will jQuery allow to get native pixel 
values in the future?
Something like widthpx(), leftpx() would be useful when doing 
size/position calculations for elements.

Currently I write a jQuery Splitter Widget component, therefor a lot 
calculations are necessary and so I made some additions for jQuery like 
calculation and setting the complete width of an element including 
borders, paddings and margins. However these functions assume pixel 
return values for the css properties...

Oskar



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

Reply via email to