Francisco Brito wrote:
> 
> hmm, I can think of using currentStyle (IE) and getComputedStyle (FX), but
> I
> don't know what to use for Safari et al.
> 
> I wonder if jQuery should provide a x-browser way of doing this. Upon
> superficial inspection, it seemed to me that you're accessing the "style"
> attribute, not the current/computed styles.
> 
> -brito
> 
The test was just dirty setup. The most annoying thing is, that opera
returns 3 by default which ends in unpredictably results while calculating
the the real width of an element.

-- 
View this message in context: 
http://www.nabble.com/Problems-getting-border-width-tf2239933.html#a6214050
Sent from the JQuery forum at Nabble.com.


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

Reply via email to