Find this link 
http://stackoverflow.com/questions/4740330/cake-php-css-load-issue-on-apache2
which is useful for css issues
On Aug 5, 9:30 pm, Namita Shaha <[email protected]> wrote:
> Hi
> I am new to cakephp. I have installed apache2 and put cakephp 1.2
> folder in htdoc. In my layout file, I want to include css files so I
> am using
>
> echo $html->css(array('login'));
>
> <link href="/cake_app/css/login.css" type="text/css" rel="stylesheet">
> instead of
> <link href="/css/login.css" type="text/css" rel="stylesheet">
>
> Because of wrong href css file is not included... and same is
> happening with images and js files. Can any one tell me what am i
> doing wrong. my css file is kept in cake_app/app/webroot/css folder.
> Thanks in advance.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to