I have a project and this project includes a module about web page html and css properties. I have to get all the html tags and their relative css properties and values in a hierarchical way like FireBug.
What i mean may be more understandable if i show a pic:
How can i retrieve css properties of html selectors of a web page like the image above?