[Rails] Re: setting the size of a textarea

2010-08-02 Thread Tim Shaffer
It's possible you have a style that is overwriting the rows and cols attribute. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send

[Rails] Re: setting the size of a textarea

2010-08-02 Thread Robert Walker
Sergio Ruiz wrote: i have noticed this a few times in the past, but right now, i need to get this fixed so that my form will fit inside a div.. i currently have this code: %= text_area @project, :description, :rows = 2, :cols = 20 % which should give me a 20x2 text area...

[Rails] Re: setting the size of a textarea

2010-08-02 Thread Maurizio De Santis
Tim Shaffer wrote: It's possible you have a style that is overwriting the rows and cols attribute. For my experience, it's better to not use rows and cols for dimensioning textareas, because the dimensions of the textarea will depend from the dimensions of the row and of the column, that rely

[Rails] Re: setting the size of a textarea

2010-08-02 Thread Sergio Ruiz
Tim Shaffer wrote: It's possible you have a style that is overwriting the rows and cols attribute. you guys are correct! i am using blueprint CSS with this site.. unfortunately, this box is not bounded by a span-# div, so it makes some assumptions about the width of the textarea tag.. one of