Archive for April, 2010

Get Computed Style in JavaScript

The computed style of an element incorporates external CSS (via stylesheets), inline styles and styles prescribed via JavaScript. It’s most commonly used to get the default style of an element if it’s not specifically assigned via styles, i.e. the default style that the browser gives an element. It’s a very undocumented part of JavaScript engines, [...]

April 5, 2010   Posted in: javascript, web development  No Comments