You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@yahoo.com> on 2004/09/15 13:23:06 UTC

some CForm fields have a yellow background

Hi,

I am a CForms newbie and have the following question:

In the Registration example, the Name and e-mail
fields have a yellow background.

If I change the id of the field to anything other than
Name, the yellow background goes away.

What is setting the yellow background?

In another example provided in the CForms block, the
first row of the repeater widget for Birthday has a
white background..But subsequent rows have the yellow
background.

What is setting the background color of this field?

Thanks!
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: some CForm fields have a yellow background

Posted by Patrick Verboom <pa...@juwimm.com>.
Paul Joseph wrote:

>Hi,
>
>I am a CForms newbie and have the following question:
>
>In the Registration example, the Name and e-mail
>fields have a yellow background.
>
>If I change the id of the field to anything other than
>Name, the yellow background goes away.
>
>What is setting the yellow background?
>
>In another example provided in the CForms block, the
>first row of the repeater widget for Birthday has a
>white background..But subsequent rows have the yellow
>background.
>
>What is setting the background color of this field?
>
>Thanks!
>Paul
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>
Hi Paul,

that is an Internet explorer bug/feather

the Internet explorer paints the input fields yellow when it recognizes 
a standard name like email

try opera or firefox and you will see that there is no yellow background.

greeting patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: some CForm fields have a yellow background

Posted by "Volkm@r" <pl...@arcor.de>.
Paul Joseph wrote:
> I would think so, but I couldn't find any CSS with
> #Name in it.
> 
> Also, this wouldn't explain why on the form1 CForms
> example provided in the standard install, the first
> Birthday field in the repeater has a white background,
> while all the other Birthday fields in the subsequent
> rows have a yellow background.
> 

Which sample did you mean, that from "cocoon/samples/blocks/forms/form1"?

It doesn't even have any filed with id="Name" as you mentioned, and also 
none of my Firefox or Konqueror shows a yellow background.

-- 
Volkmar W. Pogatzki


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: some CForm fields have a yellow background

Posted by Paul Joseph <pj...@yahoo.com>.
I would think so, but I couldn't find any CSS with
#Name in it.

Also, this wouldn't explain why on the form1 CForms
example provided in the standard install, the first
Birthday field in the repeater has a white background,
while all the other Birthday fields in the subsequent
rows have a yellow background.

thx
Paul
--- "Volkm@r" <pl...@arcor.de> wrote:

> Paul Joseph wrote:
> > [...]
> > In the Registration example, the Name and e-mail
> > fields have a yellow background.
> > 
> > If I change the id of the field to anything other
> than
> > Name, the yellow background goes away.
>  > [...]
> 
> Colors, backgrounds and other styles are handled by
> CSS and should be 
> completely separated from forms' logic.
> 
> Check the CSS for a rule "#Name
> {background-color:yellow}".
> 
> -- 
> Volkm@r
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: some CForm fields have a yellow background

Posted by "Volkm@r" <pl...@arcor.de>.
Paul Joseph wrote:
> [...]
> In the Registration example, the Name and e-mail
> fields have a yellow background.
> 
> If I change the id of the field to anything other than
> Name, the yellow background goes away.
 > [...]

Colors, backgrounds and other styles are handled by CSS and should be 
completely separated from forms' logic.

Check the CSS for a rule "#Name {background-color:yellow}".

-- 
Volkm@r


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org