Add css to text_field_tag

hi all,

I have the following problem.
I have a text_field_tag and want to add some css style to it.
so i need something like a :class => ‘field_style’ or something

i have been searching for quite some time now but can’t find the answer

thanxs, jeljer

On 16 Aug 2008, at 07:03, jeljer te Wies wrote:

hi all,

I have the following problem.
I have a text_field_tag and want to add some css style to it.
so i need something like a :class => ‘field_style’ or something

There’s an example in the api docs for tex_field_tag: text_field_tag
name, value, :class => ‘something’

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs