CSS connect to the files
Who can help me out 😄
I can't get my CSS connected?
I already tried ./, ../ .../ or even just / nothing works. I hope with the pictures everything is clear?
So my CSS file is out of my 'head' folder TWT. Before I used the include function it works with only /CSS/main.css. But now that I use the include function, it doesn't work anymore 😦
PS. I use include for my head
9 Replies
Can you open your CSS in your browser?
as in, go to https://yourcooldoma.in/CSS/main.css and have it show up?
http://localhost/TWT/CSS/main.css I used this. And this work
href="/TWT/CSS/main.css"
should work themI think it might also be the
...
But I think in certain environments on languages ./ isnt liked for file paths, i dont know if this is a html specific thingyeah,
...
is nothing. .
is current dir, ..
is one higher, ../..
is two higherThank you! It works back! wow I've been struggling with this for a long time 😅 Thanks a lot
do you understand why it works?
(and you're welcome, always glad to help 🙂)
Yes I think so. When I see the issue now I understand
k, good 🙂