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);
I think in the case of CSS styles they get changed to camelCase in Javascript so test-align becomes textAlign. In the general case where you want to access a property that contains non-standard characters you use array-style. ['text-align']
test-align
textAlign
['text-align']