The directory looks like
C:\wamp64\www\jml_test
+application
+css
-bootstrap.css
-main.css
-project_page.css
-neat.css
+js
+photos
+etc
My head.php
directs the index to css via <link href='css/main.css' rel='stylesheet'>
. This produces the page with the CSS at initial upload.
I want to make changes to the styling. Naturally, I go to jml_test/css/main.css
to edit. The edits, after saved, do not take effect. I have found that changing the file name, changing the directory, and even deleting the main.css
file do nothing at all - the initial styling remains. Restarting the server does nothing either.
However, I have found that if I make a new file and point the head there instead (for example, save the desired edits as nerd.css
and put <link href='css/nerd.css' rel='stylesheet'>
in the head, the updated file is read.
Using realpath(NULL);
in the head returns C:\wamp64\www\jml_test, which is the directory described above. From the <link>
tag then the target should be at C:/wamp64/www/jml_test/css/main.css.
My question is, what is the head actually reading when it looks at main.css
? Something must be amiss for me to be able to delete target file and have it still be read.