Posted on: 7/27/2013 6:20:31 PM | Views : 257

Hi,
<link href="Styles/StyleSheet2.css" rel="stylesheet" type="text/css" /> Above is a line that I extracted from a webpage. I want to get all the css file contents of those which are attached to the web page. from the below line, i can get the 
Styles/StyleSheet2.css part. it say's I have the Styles2.css in the Styles folder. to read the css file content, I want to get the absolute path of the file StyleSheet2.css. I tried  this,
string fileContent = System.IO.File.ReadAllText(Path.GetFullPath(file)); where i refer file as Styles/StyleSheet.css but I'm not getting the correct output. someone please give a help
thanks in adnvance


...

Go to the complete details ...