ASP.NET Root Folder Of Website In CSS
So, I thought I'd try my luck on ASP.NET. I didn't get very far before I found my first problem. I have a folder layout like so: \ ->Admin -->Admin.Aspx ->CSS -->Style
Solution 1:
If your <head></head>
tag contains runat="server" (which IIRC it does by default) you can simply specify it as:
<link rel="stylesheet" type="text/css" href="~/CSS/Style.css" media="screen" />
Post a Comment for "ASP.NET Root Folder Of Website In CSS"