Your error:
<link href="../css/simplecurve.css" rel="stylesheet" type="text/css" /
>
Must be:
echo $html->css('simplecurve');

On Oct 14, 2:42 pm, Jas <mciver.ja...@gmail.com> wrote:
> my template is views/layouts/simplecurve.ctp
> and this is the contents
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <?php echo $html->charset(); ?>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <?php $title_for_layout; ?>
> <meta name="keywords" content="" />
> <meta name="description" content="" />
> <link href="../css/simplecurve.css" rel="stylesheet" type="text/css" /
>
> <?
> echo $scripts_for_layout; ?>
> </head>
> <body>
> <div id="header">
>         <h1><a href="#">House Points</a></h1>
>         <h2><a href="http://freecsstemplates.org/";>Put your points in!</a></
> h2>
> </div>
>
> <div id="menu">
>         <ul>
>                 <li class="first"><a href="#" accesskey="1" 
> title="">Home</a></li>
>                 <li><a href="#" accesskey="2" title="">About Us</a></li>
>                 <li><a href="#" accesskey="3" title="">Products</a></li>
>                 <li><a href="#" accesskey="4" title="">Services</a></li>
>                 <li><a href="#" accesskey="5" title="">Contact Us</a></li>
>         </ul>
> </div>
> <div id="container">
>
>         <div id="content">
>         <?php $session->flash(); ?>
>         <? echo $content_for_layout; ?>
>         </div>
> </div>
> <div id="footer">
> </div>
>
> </body>
> </html>
>
> On Oct 14, 5:28 pm, AD7six <andydawso...@gmail.com> wrote:
>
>
>
> > On 14 oct, 04:18, Jas <mciver.ja...@gmail.com> wrote:
>
> > > Looking at the page source, everything looks as if it should be
> > > working. The page is functional, just missing css.
> > > Its only when I pass a parameter that this happens.
> > > I've tried taking everything out of the view and the controller
> > > action, expecting it to show at least an empty layout. still no css.
> > > Of course without a parameter in the url it works!
>
> > How about you show the code your using to generate the css link...
>
> > AD
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to