Thursday, May 27, 2010

css @import

Hi

does css @import url work in cakephp?

I tried to import another css in my main.css with

@import url("css/other.css");

and

@import url("/css/other.css");

but it does not seem to work.

Of course, instead, I can always do in my layout

echo $html->css('main');
echo $html->css('other');

but I just wanted to know whether the @import is supported or not.

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: