Tuesday, January 4, 2011

Re: Setflash change background color

Thanks for your answer.

Leo

On 29 dec 2010, 17:37, john lyles <confidentia...@gmail.com> wrote:
> You are not telling it to look in the right place. You are giving a
> location of .message but in fact it is located at div.message, the div
> in this case being div id="content". Remove this div and then .message
> would make sense. It also matters if you put your styles before or
> after you include the external css. If you put it after you load
> cake.generic.css then it should work. But if you put it before
> cake.generic.css it will not work. And it would be best just to change
> it inside the .css
>
> On Dec 29, 10:30 am, lvdb <lj.vandenb...@kpnplanet.nl> wrote:
>
>
>
> > Hello,
>
> > I want to change the appearance of the default message (edit success).
> > I have put the following code in the standard layout:
>
> > <style type="text/css">
>
> > .message
> > {
> >     position:absolute;
> >     top:0px;
> >     left:100px;
> >     width:300px;
> >     font-size:14px;
> >     background-color:green;
>
> >     }
> > </style>
>
> > It works but the background color is still red.  What can I do to make
> > the color green. I tried  also different colors
> > (#fff9d9 ) nothing works.
>
> > Regards,
>
> > Leo- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

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: