PROKA Posted August 14, 2007 Posted August 14, 2007 Why do I always get this squiggly error lines under my EXISTING files? It annoys me so much. If I put a / before the files, the error goes away, but it doesn't work in the page. Quote Development & Research Department @ Elven Soft
MrPaul Posted August 15, 2007 Posted August 15, 2007 Absolute paths with ~ If the CSS file is in the same directory as the page then it should not be highlighted. You could try fully qualifying it with an absolute path using the ~ character which denotes the root project directory. href="~/style.css" or href="~/subdir/style.css" etc. Note that the special behaviour of the ~ character only works with elements which are parsed server-side, such as those within the head element or those with the runat="server" attribute. Good luck :) Quote Never trouble another for what you can do for yourself.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.