tags:

views:

43

answers:

1

I have a html object element which is retrieved by

document.getElementById()

Is there any way to find out what styles are applied to this element? Not just class name set in CSS attribute. What I need is similar to the style inspect feature of FireBug (FF Addons). Is this possibly done with JavaScript?

+2  A: 

You could have a look at this article.

ChristopheD
looks good to me. not tested
thephpdeveloper
how i get all of css class name which applied on an element?
complez