Zhivko
Zhivko

Reputation: 550

How can I get computed CSS excluding the browser specifics?

I am trying to get all computed css properties without the browser specifics through javascript/jQuery. Is there a way to do that?

Thank you

Upvotes: 1

Views: 134

Answers (1)

Ben
Ben

Reputation: 35663

Yes, here is a cross-browser example:

The example is quite old. You probably want to reverse it to use getComputedStyle in preference to currentStyle.

Upvotes: 2

Related Questions