62,133
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
string cssPath = "css/common.css";
string htmlUrl = @"http://topic.csdn.net/u/20120925/22/953c6420-7b9d-4603-91cc-cd501a9c713f.html?id=3";
string basePath = Path.GetDirectoryName(htmlUrl);
string result = Path.Combine(basePath, cssPath).Replace(@"\", "/");
Response.Write(result);