I just started using html and css and I have to do something with it but I am getting the error Unable to open 'style.css'. I don't know what the problem is since the path that I used is the same as the file path.
-
try updating this css path === ../site/style.cssSumit Patel– Sumit Patel2019-11-20 12:27:45 +00:00Commented Nov 20, 2019 at 12:27
-
Css path issue for sureAwais– Awais2019-11-20 12:36:44 +00:00Commented Nov 20, 2019 at 12:36
Add a comment
|
3 Answers
Sometimes the file may missed directory. You can close and open the code editor and it will work. Also, make sure your html and css file is in same directory. If you css file is in a different directory then use the following code:
<link type="text/css" href=".../style.css"/>
1 Comment
gmatinski
Thank you that answered my problem
