I have a website with folders of css, documents, images, pages2020, pages2021, and files in the root directory.
I copied the month .html files (like december2020) to the pages2020 folder. I did this to try to organize my file structure more cleanly. Now that 2021 is upon us, keeping any month .html files in a year folder seems to make sense.
In my html, I can link to those files without problems. However, here is the problem. When those month files, like december2020, are in the root folder the webpage looks great. The css file, which is in the folder css and named style.css, works. But when I copy that .html file to the pages2020 folder, the information on the page is there, but no css carries over with it. The formatting of text, background of the page, etc is not there.
So, how can I get that css/style.css file to work for .html files that are in folders?
By the way, I’ve checked more than 100 websites and asked this question in three Facebook groups. I have yet to find the answer. I think it’s something simple, but I’m just not seeing it.