# Different class for a data\_select

**URL:** <https://www.ruby-forum.com/t/different-class-for-a-data-select/156999>\
**Category:** Rails\
**Created:** [January 6, 2009, 11:22am UTC](https://www.ruby-forum.com/t/different-class-for-a-data-select/156999 "2009-01-06T11:22:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kpitn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e79b87/32.png) [@Kpitn](https://www.ruby-forum.com/u/Kpitn)\
**Post date:** [January 6, 2009, 11:22am UTC](https://www.ruby-forum.com/t/different-class-for-a-data-select/156999/1 "2009-01-06T11:22:25Z")

</div>

Hi,

I am using this syntax : f.date\_select :birth\_date, :class=\>“test”

I want to use a width different for the 3 select, but the class is not  
different for the three select.

Is there a way to apply a different width ?

thx
