# Applying CSS style to in\_place\_editor\_field?

**URL:** <https://www.ruby-forum.com/t/applying-css-style-to-in-place-editor-field/118086>\
**Category:** Rails\
**Created:** [October 23, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/applying-css-style-to-in-place-editor-field/118086 "2007-10-23T19:33:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@matt](https://www.ruby-forum.com/u/matt)\
**Post date:** [October 23, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/applying-css-style-to-in-place-editor-field/118086/1 "2007-10-23T19:33:10Z")

</div>

I have a simple in\_place\_editor\_field but the default style when  
clicking it isn’t quite acceptable for my needs.

I tried using options that in\_place\_editor can take advantage of but I’m  
still getting a small field with a very close “Ok” button.

I’m currently using:

```
  <% for note in status_notes.notes %>
    <li>
      <% @note = note %>
      <%= in_place_editor_field :note, :body %>
    </li>
  <% end %>

```

That works great but if I could span it to be much wider and make it  
expand to a text area with 3-4 rows I would like to be able to do that.

Any thoughts would be appreciated.
