# In\_place\_editor\_field

**URL:** <https://www.ruby-forum.com/t/in-place-editor-field/119961>\
**Category:** Rails\
**Created:** [November 12, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/119961 "2007-11-12T15:53:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [November 12, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/119961/1 "2007-11-12T15:53:03Z")

</div>

Is there a way to make the text that is shown in a in\_place\_editor\_field  
appear red? Also is there a way to change the color when I hover over  
the text? Thanks,

-S

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [November 12, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/119961/2 "2007-11-12T16:04:06Z")

</div>

On Nov 12, 2007, at 9:53 AM, Shandy N. wrote:

> Is there a way to make the text that is shown in a  
> in\_place\_editor\_field  
> appear red? Also is there a way to change the color when I hover over  
> the text? Thanks,
> 
> -S

Look at the source of the page that you’re placing the  
in\_place\_editor\_field onto.

There’s probably a class=“in\_place\_select\_field” or something similar  
that you can use in your CSS to style the field however you want.

The place I copied from in my own application is from an  
Ajax.InPlaceCollectionEditor so you probably have something like  
class=“in\_place\_text\_field”

-Rob

Rob B. [http://agileconsultingllc.com](http://agileconsultingllc.com)  
removed\_email\_address@domain.invalid
