Split Webform Items into two rows i'm working on a problem for a while and still found no answer.
I'm using the Webform Plugin to show a contact form on my site.

The current structure is:

&lt;form&gt;
 &lt;div class="form-item"&gt;...&lt;/div&gt;
 &lt;div class="form-item"&gt;...&lt;/div&gt;
 &lt;div class="form-item"&gt;...&lt;/div&gt;
 &lt;div class="form-item"&gt;...&lt;/div&gt;
&lt;/form&gt;


Is it possible, maybe with a hook because i want to apply it to a special form, to get this HTML structure:

&lt;form&gt;
  &lt;div class="pull-left"&gt;
     &lt;div class="form-item"&gt;...&lt;/div&gt;
     &lt;div class="form-item"&gt;...&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="pull-right"&gt;
     &lt;div class="form-item"&gt;...&lt;/div&gt;
     &lt;div class="form-item"&gt;...&lt;/div&gt;
  &lt;/div&gt;
&lt;/form&gt;


I want to split the form items into two rows.

Thanks for hints and tips!
Last version of webforms lets you do this outofdabox (put fields in a fieldset though)

You can also achive this using a hook_form_alter implementation (Have not tested this but i think that should work) and using the FAPI #type container element, for example:

$form['left'] = array(
  '#type' =&gt; 'container',
  '#attributes' =&gt; array(
    'class' =&gt; array(
      'left',
      drupal_html_class($class_left),
    ),
    'id' =&gt; array('lefttoleft'),
  ),
);      


Create as many container as you want and then move all fields FAPI element inside the container