You should use

$html->css([path/file], null, array(), false);

the fourth parameter is what you should set to "false" cause it is the
inline attribute.

Assuming you have the variable $scripts_for_layout at the head, it
would be outputted in the head part of the html.

Regards,

Alec

On Jun 10, 3:22 am, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> Can you include CSS per view as you do js?
>
> I need sifr css on only 1 view. Is there a way to include it in the specific
> view?
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

  • CSS Dave Maharaj :: WidePixels.com

Reply via email to