Browser Support All browsers except IE has a way to get the computed style. The way to do this is to use document.defaultView.getComputedStyle. Only IE has a way to get the cascaded style. This is done using element.currentStyle. All browsers supports getting the inline style (even IE4) but inline style is not that interesting because it is empty unless you already set it, and in that case you don