jquery/javascript css("width") / check if style is defined in css?
i have a stylesheet which defines default width for images. When i read the image width style with jquery width() it returns the right width of course. It also returns the same width when i call css("width"). But if there is no width defined in the stylesheet the function css("width") will also return the computed width() value but won't say undefined or auto or somethine like that. 

Any ideas how i could find out if style is or is not defined in the css code?

thanks in advance,

i3
jquery/javascript css("width") / check if style is defined in css?
===

i have a stylesheet which defines default width for images. When i read the image width style with jquery width() it returns the right width of course. It also returns the same width when i call css("width"). But if there is no width defined in the stylesheet the function css("width") will also return the computed width() value but won't say undefined or auto or somethine like that. 

Any ideas how i could find out if style is or is not defined in the css code?

thanks in advance,

i3