locked
Get HTML document elements from it's viewer RRS feed

  • Question

  • Good evening dear colegues from all of the world.
    First of all I would like to congratulate you with new Year - the most famous holidays of our region.
    Despite a holyday mood, I nevertheless continue my work. So want to ask You about parsing of HTML document elements from the program which contains viewer loading this document. Namely I want to get some styles of element (i. e. font size of it).
    For this purposes I used  object HTMLDocument of .NET framework, and it's properties (body, Children and ets.). It would be best solution, but unfortunately, there is one big drawback - I cannot access styles from external CSS files (which referenced from parsed HTML) with it's aims. I can see only that styles, which defined in inner styles tag.
    So help me please with this question resolving.
    Certanly I may create own external CSS files parsing, but prefered get ready-to-wear solution, if it's present. So give me it, if you know .
    PS.
    In some hours I'll go to celebrate my New Year holidays, so, I hope, this solution will the first win of the next year. Thak you.
    Programming is a poison and it's in your and my body
    Monday, December 29, 2008 5:57 PM

Answers