Can't link to my CSS
I have my test website uploaded via FTP (using FileZilla) and everything works great.
The only problem I'm having, is that I cannot refer back to my style.css from my pages folder.
My folder structure:
The CSS file works on my index.php but when I go to one of my pages using the navigation bar, it doesn't load and tries to link by using this: http://mydomain.com/website/pages/ab.../css/style.css and not http://mydomain.com/website/css/style.css
How do I fix this, if it's possible?
Is the /page/ folder WITHIN your CSS folder or is it at the same level as your CSS folder?
You should link to it the same way you are linking to it on your index.php page.
<link rel="stylesheet" href="../css/styles.css" />
<link rel="stylesheet" href="http://mydomain.com/website/css/style.css" />
Thanks a lot, I got it working!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)