Hi,

I'm trying to obtain the width from the style of a div Element that is
not loaded into the DOM. Works like a charm in all browsers but Opera.

I probably misunderstand how it should work. I've tried getStyle,
getSize, getDimensions, getComputedSize, alone or in function measure,
but no luck in Opera.

I would thought that getStyle('width') returns the setting for the
style, but in Opera some calculation is done which makes the result
"0px". (Because offsetWidth is not set yet).

The measure function doesn't seem to work in either browser.

See example on: http://jsfiddle.net/MV9KB/1

Wo

Reply via email to