[newbie] Unrecognized '@' block type.
-
Within a stylesheet I copied to an ASP.NET project, the compiler does not seem to like the first line in the stylesheet. Any idea why?
@charset "UTF-8"; //Error 1 Unrecognized '@' block type. c:\inetpub//\wwwroot\Blog\stylesheets\common.css 1 1 http://localhost/Blog/
/* =CALL LIBRARY */
@import url("reset-min.css"); /* ------- Reset all CSS Styles *//* =GENERAL - the general styles */
body{
font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #4b4942;
background: #fff;
}
...Jon
-
Within a stylesheet I copied to an ASP.NET project, the compiler does not seem to like the first line in the stylesheet. Any idea why?
@charset "UTF-8"; //Error 1 Unrecognized '@' block type. c:\inetpub//\wwwroot\Blog\stylesheets\common.css 1 1 http://localhost/Blog/
/* =CALL LIBRARY */
@import url("reset-min.css"); /* ------- Reset all CSS Styles *//* =GENERAL - the general styles */
body{
font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #4b4942;
background: #fff;
}
...Jon
jon_80 wrote:
Within a stylesheet I copied to an ASP.NET project, the compiler does not seem to like the first line in the stylesheet.
How did you placed the stylesheet? Where did you placed it? Did you deployed the application in IIS?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
jon_80 wrote:
Within a stylesheet I copied to an ASP.NET project, the compiler does not seem to like the first line in the stylesheet.
How did you placed the stylesheet? Where did you placed it? Did you deployed the application in IIS?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net