title: How determine css text of each node in html
body: <p>How can I iterate over HTML nodes of a web page and get the CSS Text of each node in it? I need something like what Firebug is doing, if you click on a Node, it gives you complete list of all CSS Texts associated with that Node (even inherited styles).</p>
  
  <p>My main problem is not actually iterating over HTML nodes. I am doing it with <a href="http://www.codeplex.com/htmlagilitypack" rel="nofollow noreferrer">Html Agility Pack</a> library. I just need to get complete CSS for each node.</p>
  
  <p>p.s. I am sorry, I should have explained that I want to do this in C# (not javascript)</p>