parse through CSS filehttp://forums.asp.net/t/296207.aspx/1?parse+through+CSS+fileSun, 03 Aug 2003 19:33:09 -0400296207296207http://forums.asp.net/p/296207/296207.aspx/1?parse+through+CSS+fileparse through CSS file Is there a way built into .NET to get info from a CSS programatically? For example, I want to get the background-color set for a particular entity in the CSS from my cs file string bgcolor = xxx.method(entityname, "background-color") 2003-07-31T18:24:57-04:00298673http://forums.asp.net/p/296207/298673.aspx/1?Re+parse+through+CSS+fileRe: parse through CSS file It is heavy, but works: Instantiate Web Browser control, construct simple HTML page that references your CSS file, load it into the browser and access styles programmatically via MSHTML DOM. 2003-08-03T19:02:53-04:00