PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Field Length

  1. ztalk112
    Member

    I have 4 input fields (types: name, email, phone and text) in a form that is constrained as to width in a table.

    I need to set a custom length for each of those fields.

    What's the right syntax to use in a custom.css statement to set field length?

    Thnx in anticipation

    Posted 14 years ago on Monday August 2, 2010 | Permalink
  2. Just to be clear, the length of the field is typically used to indicate how many characters can be inputted. This can not be modified by CSS. The width of the field is how wide it actually displays on the site. This can be modified by CSS.

    If you are looking to modify the width, the following CSS should do the trick; keep in mind you will need to replace the "#input_6_2" id with the id of the input you are trying to modify.

    .gform_wrapper #input_6_2 { width: 100px; }

    Posted 14 years ago on Monday August 2, 2010 | Permalink
  3. ztalk112
    Member

    That did it . . . thnx!

    Posted 14 years ago on Monday August 2, 2010 | Permalink
  4. Glad we could help. :)

    Posted 14 years ago on Monday August 2, 2010 | Permalink

This topic has been resolved and has been closed to new replies.