It depends on:
a) Where the style is defined, ie is it:
[ul][li]In a <style></style> section of your document?, Or[/li]
[li]In a separate style sheet, linked to your document?, Or[/li]
[li]In the div tag itself <div style="color:#0000ff;">?[/li][/ul], and
b) How the style gets applied to the div, do you:
[ul][li]Redefine the Div tag in a stylesheet? Or[/li]
[li]Define a custom class in the stylesheet and use <div class="myCustomClass">?, Or[/li]
[li]Define a class for a particular ID using the # operator in your stylesheet?, Or[/li]
[li]Define the style inline in the div tag itself?[/li][/ul]
If you defined the style inline, in the div tag itself, you can access the properties through the style object of the div. If the style was defined in a <style> block elsewhere in your document, you will have to access the style through the rules collection of the styleSheets collection belonging to the document. If the style was defined in a separate CSS file and linked to by your document, you won't be able to access the style and will have to content yourself by looking at the native properties of the div.