I know I must be missing something here, but I cannot seem to get this to work.
I have assigned a background color to the body of an html document using the style ta
In this case, you'll want the computedStyle on the Element as the style attribute hasn't been set yet. In IE, you'll need to check the Element's currentStyle property, via something like this.
style
currentStyle