Reputation: 1932
I can't get my css file to be read correctly my the html page. Its something simple and related to the path.
This is what I currently have in the html file
<link rel="stylesheet" href="/css/foundation.css" type="text/css" media="screen" />
This is the domain
http://crea8tion.com/PU2/index.html
Can someone help me with the correct file path?
When i place the css file in the same location of the index.html file it works, but that isn't the ideal solution
Upvotes: 0
Views: 103
Reputation: 5614
Here you go:
<link rel="stylesheet" href="/PU2/css/foundation.css" type="text/css" media="screen" />
/
refers to the root. Your css file in in the css
folder that is withing the PU2
folder that is located at the root which is usually public_html
.
You can access your stylesheet in a broswer here: http://crea8tion.com/PU2/css/foundation.css
Upvotes: 0
Reputation: 49919
You have to remove public_html/
from your path.
You have:
/public_html/Product Upload form/css/foundation.css
Change to:
/Product Upload form/css/foundation.css
Update:
You also have JS errors:
Failed to load resource: the server responded with a status of 404 (Not Found) http://crea8tion.com/PU2/js/plupload.full.min.js
Uncaught SyntaxError: Unexpected token < jquery.plupload.queue.js:1
Uncaught TypeError: Object [object Object] has no method 'pluploadQueue' index.html:131
Upvotes: 1
Reputation: 8225
Instead of <link rel="stylesheet" href="/public_html/Product Upload form/css/foundation.css" type="text/css" media="screen" />
Do this:
<link rel="stylesheet" href="/Product Upload form/css/foundation.css" type="text/css" media="screen" />
Upvotes: 1