Friday, August 28, 2009

Re: how to add css to individual view.

You can put something like this in your view:

echo $html->css('the_filename_without_extension', 'stylesheet',
array('media'=>'screen'), false);

http://api.cakephp.org/class/html-helper#method-HtmlHelpercss

On Fri, Aug 28, 2009 at 8:44 AM, ruchika batra<ruchika.bhumca@gmail.com> wrote:
> hi
> I am a beginner.i want to add css to the individual view i have
> created.please help me how to do that.thanks in advance.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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: