Hi all.
i'm having a strange issue with Cake 2.1 HtmlHelper and CSS files.

here's my 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>";
echo $this->Html->css("myapp");
echo $this->Html->css("common/form");
echo $this->Html->css("common/menu");
?>
</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>

everything is working perfectly but if there's a form in the page the CSS 
links get all messed up

Link generated with a plain HTML page:
<link rel="stylesheet" type="text/css" href="
/cakephp/development/myapp/theme/webapp/css/generic.css<http://appserver/cakephp/development/apps/consegne/theme/ErnyWebApp/css/generic.css>"
 
/> 

Same app, same layout, the view contains a form
<link rel="stylesheet" type="text/css" href="
/cakephp/development/myapp/webroot/index.php/myapp/theme/webapp/css/generic.css<http://appserver/cakephp/development/apps/consegne/webroot/index.php/sedi/theme/ErnyWebApp/css/generic.css>"
 
/> 

i can't get rid of this. any help?

sry for my bad english

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to