I'm learning to code websites. I decided to start using fedora. All is well until i find that my CSS file isnt loading correctly. The same configuratiin worked in chrome for windows but not FF for linux.
I have a folder /home/cromwell/projects
inside of which I have an index.html
and a styles.css
(as well as associated resources)
I reference the css file with href="styles.css"'
... I also tried ./styles.css
and file:///C:/home/cromwell....
The ./
method resolves and shows my css file when i click the link in "view page source". But it does not populate to the DOM when the page loads.
The css file is nothing more than a normalize. And the html only references the stylesheet. No content.
Why won't my css load? This setup was working in Windows... Do I need to set up an apache server? Is there a syntax to the path im missing?