Search code examples
csszend-frameworkstyleshead

Including CSS Zend


I'm trying to include a file named: "style.css" in my Zend layout named: "index.phtml". My folder tree is:

    laltroposto
      |-public
      |   |-index.phtml
      |   |-css
      |   |   !-style.css
      |   !-...
      |-application
      |   |-layouts
      |   |   !-scripts
      |   |       !-index.phtml
      |   !...
      !-library
          !-...

This is my code for include css (it is into the head's tag):

<?php echo $this->headLink()->appendStylesheet('css/style.css'); ?>

I tried also:

<?php echo $this->headLink()->appendStylesheet('/css/style.css'); ?>

This is my error:

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.laltroposto.com/js/jquery.js

Some help?


Solution

  • I resolved hosting my site on www.laltroposto.org instead of www.laltroposto.com... I don't know why!