How can I resolve this? Why it causes an issue?
FYI: I am attaching the screenshots of the folder structure and code snippets.
CodePudding user response:
I am adding this answer since dbc didn't want to leave the answer here even though I asked him to leave an answer.
The solution is to remove ~
from the code. He provided a very helpful answer - Slash (/) vs tilde slash (~/) in style sheet path and it was a topic regarding ASP.NET
and exactly what I was looking for. I resolved the issue. : )