I'm not sure this is the best technique but it works for me.
Suppose you want to shrink the postal_code edit box. Do a view source
on your form page from the browser and you should see something like
this:
<tr>
<th class="postal-code-label">
Postal Code
</th>
<td class="postal-code-view">
<input class="postal-code-tag string contact-postal-code"
id="contact[postal_code]" name="contact[postal_code]" type="text"
value="90210" />
</td>
</tr>
Note the class of the <td> tag is "postal-code-view". In public/
stylesheets/application.css, add this line:
.postal-code-view input[type=text] { width: 20% }
On Nov 16, 4:35 am, rolando <[EMAIL PROTECTED]> wrote:
> ...
> I am trying to figure out how and where the length of the text fileds
> for fields of type :string are defined.
> ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---