--- select.inc.1.37	Fri Feb 12 08:49:23 2010
+++ select.inc	Fri Feb 12 08:52:16 2010
@@ -160,8 +160,6 @@ function _webform_render_select($compone
     '#required'      => $component['mandatory'],
     '#weight'        => $component['weight'],
     '#description'   => $filter ? _webform_filter_descriptions($component['extra']['description']) : $component['extra']['description'],
-    '#prefix'        => '<div class="webform-component-'. $component['type'] .'" id="webform-component-'. $component['form_key'] .'">',
-    '#suffix'        => '</div>',
   );
 
   // Convert the user-entered options list into an array.
@@ -250,6 +248,10 @@ function _webform_render_select($compone
       $element['#process'] = array('expand_radios', 'webform_expand_select_ids');
     }
   }
+
+  $form_item['#prefix'] = '<div class="webform-component-'. $component['type'] .' webform-component-'. $component['type'] .'-'. $form_item['#type'] .'" id="webform-component-'. $component['form_key'] .'">';
+  $form_item['#suffix'] = '</div>';
+
   return $element;
 }
 
