Tuesday, January 24, 2012

Re: issue with CSS in Cake 2.1

Ops sry i pasted the wrong layout

<?php echo $this->Html->docType(); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
echo $this->Html->charset();
echo "<title>". $this->fetch("title") ."</title>";
$this->Html->css("generic", null, array("inline" => false));
$this->Html->css("common/form", null, array("inline" => false));
$this->Html->css("common/menu", null, array("inline" => false));
echo $this->fetch("css");
?>
</head>
<body>
<div id='wrapper'>
<div id='top'><?php echo $this->fetch("top"); ?></div>
<div id='menu'><?php echo $this->fetch("menu"); ?></div>
<div id='content'><?php echo $this->fetch("content"); ?></div>
</div>
</body>
</html>

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: