1 Reply Latest reply on Jul 20, 2013 1:04 AM by 6779

    Spacing on form fields with two columns

      Hi all,

      When I create forms with two columns, I have trouble with field spacing. Fields like multi-select aren't automatically given extra space, so they cut off the field below them.


      Is there a way to stop this from happening? I have to up Extra Line Space to 80 in order for it to NOT cut off "Last Name," but then the rest of the form is too spaced out and the total form is way too long.


      Any help is greatly appreciated!!
        • Re: Spacing on form fields with two columns
          First of all, try this for all select fields, it might be overkill for your needs.  Drag an HTML block onto your logo & input the following CSS:

          <style type="text/css"> 
          select .mktFormSelect{padding-bottom:50px;}

          If that doesn't do it for you, You'll need to use Google Chrome to right click & "Inspect Element" on the form field you're looking to target. Then you'll see an id & name in that select

          <select class="mktFormSelect mktFReq" name="picklist1" id="picklist1" size="3" multiple="multiple" tabindex="11">.....

          In this case, if I want to change the style of the select field with the name of picklist1

          <style type="text/css"> 
          select #picklist1{padding-bottom:50px;}

          Please note the semantics at play here. The CLASS in the first example has a . before the name. The ID in the 2nd example uses a # before the name. This is true for all CSS, if you're describing a class use a . or an id use a #.

          If you aren't comfortable with the difference between class & id here's a little tutorial.

          Let me know if that works out for you.