Simple soution is to:
1. find the element
2. find the style attribute
3. do a string split of the attribute value on ';' (semicolon) -> array
4. iterate the array, splitting each item on ':' (colon)
That will give you access to each style attribute and its value as strings.