Quote:
Originally Posted by Darkranger85
1. I am accessing the page through the local network, it's not up on the web yet.
|
And there is the problem. See, when you put a slash in front of the path you’re making it an absolute path (a domain independent absolute path, to be precise). The slash means that it will look for the file starting at the root directory. On a server this is usually configured to be the web accessible directory. Now, if you browse your site from the local file system on your computer there is no such configuration and if you tell it to look at the root directory, it will actually look at the root directory of your hard drive or user account. So, if you’re running Windows it will look at, e. g.
C:/css/styles.css, on a Macintosh this might be
[Macintosh HD]/css/styles.css, where your actual website root directory might be located at
/Users/[user name]/sites/my_site/.
So, you better use relative paths, as Xherdas has explained before me.