Hello,

First off, I'm new to CakePHP and web development in general, so I
apologize in advance if my question is a stupid one or has been asked
already.  I've read up to chapter 7 in the cookbook, and I'd say I
understand it on a high level, but can figure out the details if I
know where to look.  I've installed CakePHP 1.1 and I am using MAMP.

Problem: My CSS formatting is not appearing, but what's strange is
that it worked at first, then I made a tiny change to a padding
argument, and now all my formatting is gone.  Below is my app/views/
layouts/default.thtml:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My Page -- <?php echo $title_for_layout ?></title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/css/
ie7_style.css"><![endif]-->
<script type="text/javascript" src="/js/prototype.js"></script>
<script type="text/javascript" src="/js/scriptaculous.js"></script>
</head>
<body>

<div id="container">
        <div id="content">
                <div id="logo">
                        <?php echo $html->image('logo.jpg')?>
                </div>
                <div>
                          <?php echo $this->renderElement('menu', 
array('key'=>'val'))?>
                </div>

                <div id="header">
                        <?php $session->flash();?>
                </div>

                <div>
                        <?php echo $content_for_layout?>
                </div>
        </div>
        <div id="footer"></div>
</div>

</body>
</html>



So initially, like I said, my CSS worked.  I wanted to mess around and
change my #content in the CSS file.  Below is the original style.css:


--~--~---------~--~----~------------~-------~--~----~
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