On Mar 29, 7:09 pm, "rtconner" <[EMAIL PROTECTED]> wrote:
> To get to an image or stylesheet I do this...
> <style type="text/css" media="all">
> @import url(<?=$html->url('/css/base.css')?>);
> </style>
Okay, you definitely don't need to go through all that. For CSS, you
can either do <?=$html->css("base"); ?> which will render a <link />
tag, or you can do <?=$html->css("base", "import"); ?> which will give
you the @import syntax that you're using. For images, you can do <?=
$html->image("logo.png"); ?>. You should really check out the Helpers
chapter in the manual.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---