There is a site.ru site on the local apache server and there is a page.php file and style.css.
They are located like this:
site.ru/page.php site.ru/css/style.css The link to style.css in the page.php file is as follows:
css/style.css She works. But the link works well:
../css/style.css And a higher level of nesting also works. Although in theory it should not be so.
Actually this is the question. Why does this work?
/, where your page.php file is located. Climb to the category above in theory will not do anything. And the first option works in a direct logic. - Telion