Hidden field not hidden

How come RoR renders a hidden field and make it visible in the browser??
I have set the style for inputs in the css, with border as one thing,
and it takes that and apply it to hidden fields as well, which it
shouldn’t.

Pål Bergström wrote:

How come RoR renders a hidden field and make it visible in the browser??
I have set the style for inputs in the css, with border as one thing,
and it takes that and apply it to hidden fields as well, which it
shouldn’t.

That sounds like an issue with your browser? Which browser are you using
currently? Could you ‘view source’ perhaps and post it so I can see how
it looks in my browsers?

Cheery-o
Paul, gustav

Gustav P. wrote:

Pål Bergström wrote:

How come RoR renders a hidden field and make it visible in the browser??
I have set the style for inputs in the css, with border as one thing,
and it takes that and apply it to hidden fields as well, which it
shouldn’t.

That sounds like an issue with your browser? Which browser are you using
currently? Could you ‘view source’ perhaps and post it so I can see how
it looks in my browsers?

Cheery-o
Paul, gustav

It’s a plain hidden field.

It’s FF. Opera is ok. Safari doesn’t let you apply styles to inputs, so
that’s ok.

FF normally doesn’t have a problem with this so I would blaim RoR, or a
strange combination. But I don’t understand why…

…I saw it now. I use display:block and FF have problems with that.
That was new to me. Well, I’ll remove that as I don’t need it. Thanks
for the input :slight_smile: