To me it seems that you've shut down the best option (creating a
separate CSS file)... why not create one?

On the other hand you could try something like that in the layout:
if(isset($additional_css)) { echo $additional_css; }

in the view:
$this->set('additional_css', '<style> //your css code </style>');

On Oct 7, 5:48 pm, BrendonKoz <[EMAIL PROTECTED]> wrote:
> I have some page-specific code (CSS in this case) that I would like to
> use on a form.  This code will *not* be used anywhere else in my
> application, and if replicated, only portions of it will be.  I'd
> rather not have to create separate CSS files to use this.  I looked at
> $html->css() and $html->style() without success.  Is there another
> method to input *whatever* code I'd like directly in to
> $scripts_for_layout?
>
> The specific code I need to insert can be found at the following
> pastebin address:http://pastebin.com/m28c87fd2
>
> I do plan on reusing the layout I created for this, for other forms,
> but the CSS is specific to this individual form (a recreation of a
> paper form, and must retain the same look for legal reasons).
>
> Although I could use $html->css for two of the three CSS sections (I'd
> prefer not to however), that specific class method is not made to
> handle IE conditional CSS statements for insertion.  Has anyone come
> up with any solutions to this in their own projects, or have any ideas
> on a possible solution?
>
> Note: The linked CSS file has not yet been converted for use within
> Cake, but that's not the issue here.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to