Fixed it, you guys are the best!  Firebug is amazing.  Long story
short, my default.thtml was all screwy.  Very basic html stuff.
Thanks!

On Nov 22, 9:21 pm, "sijo jose" <[EMAIL PROTECTED]> wrote:
> I agree with ROD. If it is CSS, firebug rocks.
>
>
>
> On Sun, Nov 23, 2008 at 2:22 AM, Rob <[EMAIL PROTECTED]> wrote:
>
> > First, I would suggest you get a copy of Firebug - it rocks when
> > trying to debug CSS issues.
>
> > What exactly do you mean 'none of my CSS formats were applied'?
>
> > If you left off the punctuation when you modified the #content, that
> > would break things, but if all you did was to change the first element
> > in the padding from 0px to 10px, that would only fail if another CSS
> > tag prevented the change from being applied.
>
> > On Nov 21, 12:05 pm, CJL <[EMAIL PROTECTED]> wrote:
> > > (sorry I hit send by accident)
>
> > > Below is my original style.css:
>
> > > #content {
> > >   clear:both;
> > >         margin-left: auto;
> > >         margin-right: auto;
> > >   padding: 0px 40px 10px 40px;
> > >   background-color: #fff;
> > >   color: #333;
> > >         text-align: left;
> > >         width: 100%;
>
> > > Then I just changed the padding to:
>
> > > padding: 20px 40px 10px 40px
>
> > > After that, none of my CSS formats were applied.  I went back to the
> > > style.css file and changed the padding back to the original settings,
> > > but still none of my CSS formats are appearing.  Any help would be
> > > greatly appreciated.  Thanks!
>
> > > On Nov 21, 11:51 am, CJL <[EMAIL PROTECTED]> wrote:
>
> > > > 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:
>
> --
> Sijo Jose Chakramakkil
--~--~---------~--~----~------------~-------~--~----~
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