installed? Easy enough to check with that, whether it's the CSS or the
div isn't getting the class name.
On Apr 2, 11:22 am, Ed Propsner <crotchf...@gmail.com> wrote:
> Seems straightforward enough but I must be overlooking something somewhere.
> Still not working out for me.
>
> On Fri, Apr 2, 2010 at 6:22 AM, WebbedIT <p...@webbedit.co.uk> wrote:
> > I use:
>
> > $this->Session->setFlash('<p>Whatever message I want to display</p>',
> > 'default', array('class'=>'message update'));
>
> > And I change the update class to notice or error depending on what
> > info I am displaying. My CSS is as follows
>
> > div.message {-moz-border-radius:5px; padding:6px 10px; margin:10px 0;
> > text-align:center;}
>
> > div#authMessage, div.message.error {color:#f00; background:#FFE6E6;
> > border:1px solid #FF9D9D;}
> > div.message.update {color:#090; background:#ECFFEC; border:1px solid
> > #090;}
> > div.message.notice {color:#DFD137; background:#FFFBCF; border:1px
> > solid #DFD137;}
> > div.message.site {font-size:90%; color:#090; background:#ECFFEC;
> > border:1px solid #090;}
> > div.message.site a {color:#090; font-weight:bold;}
>
> > Cricket's implementation looks interesting though.
>
> > HTH
>
> > Paul
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > 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+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe, reply using "remove me" as the subject.
>
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment