HTML linking CSS one level up?

I mean: From web / in / in.html I want to use css.css located in web / css / css.css. Is there any way to do this other than the http://sdlfjsldfk.it/web/css/css.css link ?

../css/css.css does not work. I am stuck.

+5
source share
2 answers

you need to go one more level up

../../css/css.css

your first one ../will take you to the map /in, but css will be on one level, so you will make the second ../, and then you will be on the correct map. Then you just type the path to css

you can also do the following

./css/css.css

(./ , )

+6

CSS ? /css/css.css, , / root

0

All Articles