Zend Framework problem with adding CSS files -


I have a small problem when loading CSS files with the Zend Framework. This is my code:

  & lt ;? Php echo $ this- & gt; HeadLink () - & gt; Prepaid stylesheet ($-> baseUrl (). '/ Css / reset.css'); ? & Gt; & Lt ;? Php echo $ this- & gt; HeadLink () - & gt; Prepaid stylesheets ($-> baseUrl). '/ Css / main.css'); ? & Gt;   

When I open the page in my browser, it puts the key before resetting. This way I get my page unstilled because it is reset by reset.css.

Any suggestions? Thank you.

Why not reset code should start in main CSS? You have reduced the request of 1 server and resolved the problem in a file.

In addition to this you are using a prepaid stylesheet - I've never used Zendan but checked in the document Style sheet - Predded it probably adds before the existing stylesheet in the header.



Comments