Zend Framework problem with adding CSS files
Posted
by
priktop
on Stack Overflow
See other posts from Stack Overflow
or by priktop
Published on 2011-03-16T16:08:11Z
Indexed on
2011/03/16
16:10 UTC
Read the original article
Hit count: 181
Hi,
I have a small problem when loading CSS files with the Zend Framework. This is my code:
<?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/css/reset.css'); ?>
<?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/css/main.css'); ?>
When i open the page in my browser, it puts the main before the reset. This way i get my page unstyled because it gets reset by the reset.css.
Any suggestions? Thanks.
© Stack Overflow or respective owner