Using this script to make a style object of all the inherited etc styles.
var style = css($(this));
alert (style.width);
alert (style.text-align);
CSS properties with a - are represented in camelCase in Javascript objects. That would be:
alert( style.textAlign );
You could also use a bracket notation to use the string:
alert( style['text-align'] );
Property names may only contain characters, numbers, the well known $ sign and the _ (thanks to pimvdb).