Okay, try this out. This should work the way you want for the salutation options and apply globally as well.
add this to your style sheet.
.gform_wrapper li.gf_list_inline ul.gfield_checkbox li,
.gform_wrapper li.gf_list_inline ul.gfield_radio li {width:auto!important; float:none!important; display: -moz-inline-stack; display: inline-block; zoom: 1; *display: inline; margin:0 10px 10px 0;}
then, when creating your form in the form editor, click on the salutation field (or any multiple choice/checkbox list you want to apply this too), click on the advanced tab and place this in the "CSS class name" field.
gf_list_inline
Save the form and then it should display all of the items in that list in an inline format. Just to be clear, the inline format isn't equally spaced columns, it just allows the elements to all float inline like text. This works particularly well with just a couple of items, or items with labels of significantly different lengths.
This is actually something we're adding as a default style in the new 1.5 version that will be out soon. You can read up about this "ready class" and others here.
http://www.gravityhelp.com/css-ready-classes-for-gravity-forms/
Posted 14 years ago on Friday November 12, 2010 |
Permalink