I am using twitter bootstrap and foundation (zurb) for two demo single column pages. I can test theme easily on my local machine but I can’t get to detect the stylesheet and js file on my own server. It is hosted on the hostgator and i am not sure what is causing the problem.
If I am not wrong uploading the directory as it is on server, doesn’t have to be any impact on server side hosting, isn’t it? I am just uploading the basic html page example from bootstrap website with minor changes on the text content side.
So
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
this css file reference should be fetched after the server deployment as well. I also tried using the ../ and using the website URL.
<link href="../css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="http://mywebsite.com/css/bootstrap.min.css" rel="stylesheet" media="screen">
I don’t know what is going wrong here because on server side i can get the text content visible but not the css and js parsing.
All the three methods of linking to external css or js are wrong? What could be the problem here?
try
use the path from the root of the site
and close the
<link />element with/>