Possible Duplicate:
Can jQuery get all CSS styles associated with an element?
How to get the full css property set as string from an element with jQuery or JavaScript?
var x = $('myelement').css().toString();
Possible Duplicate:
Can jQuery get all CSS styles associated with an element?
How to get the full css property set as string from an element with jQuery or JavaScript?
var x = $('myelement').css().toString();