title: Why the css is not affecting in my PHP page?
body: <p>I am learning the php and get some difficulties, I am trying to include the php file in header of another file, but the css is not working?</p>
  
  <p>here is my project directory structure
  <a href="http://i.stack.imgur.com/OGYn9.jpg" rel="nofollow">Project Structure</a></p>
  
  <p>and here is my php code...
  <strong>blogpage.php</strong></p>
  
  <pre><code> &lt;html lang="en"&gt;
  &lt;head&gt;   
      &lt;?php include 'head.php';?&gt;
  
      &lt;title&gt;Off Canvas Template for Bootstrap&lt;/title&gt;
  
  &lt;/head&gt;
  </code></pre>
  
  <p>I have included the path in Struts-2/blogpage.php</p>
  
  <p>here is my head.php</p>
  
  <pre><code>   &lt;!-- Bootstrap core CSS --&gt;
    &lt;link href="/css/bootstrap.min.css" rel="stylesheet"&gt;
  
    &lt;!-- IE10 viewport hack for Surface/desktop Windows 8 bug --&gt;
    &lt;link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet"&gt;
  
     &lt;!-- Custom styles for this template --&gt;
    &lt;link href="css/offcanvas.css" rel="stylesheet"&gt;
     &lt;link href="css/blog.css" rel="stylesheet"&gt;
  </code></pre>