# Add css to a text area

**URL:** <https://www.ruby-forum.com/t/add-css-to-a-text-area/152387>\
**Category:** Rails\
**Created:** [November 3, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387 "2008-11-03T13:17:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ishara\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/e68b1a/32.png) [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Post date:** [November 3, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387/1 "2008-11-03T13:17:35Z")

</div>

i want to add a css tag to a text field  
\<%= form.text\_field :title %\>  
i wanna make blue this text field,please can anyone  
send me the code

---

<div class="post-metadata">

**Author:** ![Ishara\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/e68b1a/32.png) [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Post date:** [November 3, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387/2 "2008-11-03T13:51:04Z")

</div>

Hi Ishara,

Look at the examples, here [  
[text\_field (ActionView::Helpers::FormHelper) - APIdock](http://apidock.com/rails/ActionView/Helpers/FormHelper/text_field) ]

Cheers.  
[rui]  
[Seiri, Seiton, SeisÅ, Seiketsu e Shitsuke]

On Mon, Nov 3, 2008 at 9:16 AM, Ishara G.

---

<div class="post-metadata">

**Author:** ![Ishara\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/e68b1a/32.png) [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Post date:** [November 3, 2008, 2:11pm UTC](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387/3 "2008-11-03T14:11:03Z")

</div>

thankx,il try

2008/11/3 rui [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
