I need to get list of elements all css attributes. How can I do that ?
For inline styles:
var styles = $("#someelement").attr("style");
From there, you should be able to split this string if you need to loop the styles.
To check individual styles, check the docs:
http://docs.jquery.com/CSS