Kod
style
images
pages
index.php
.htaccess
images
pages
index.php
.htaccess
W pages mam strony, mam tam dwa pliki:
head.php, footer.php, są to pliki wyglądu strony, które includuje w każdy plik. W tych plikach mam takie coś:
<link rel="stylesheet" type="text/css" href="./style/style.css" />
Ale gdy dodam plik np. w folderze admin i zaincluduje head.php oraz footer.php:
include "../pages/head.php";
Ale gdy tak dodam, to struktura strony zostaje, ale tak jakby nie czytał pliku CSS, jak temu zaradzić?