Drupal form elements in html table, label (title) rendering
My not nice solution is 

function drupal_render_label($field){
    $result= "&lt;div class=\"form-item form-type-".$field['#type']." form-item-".$field['#name']."\"&gt;";
    $result.= "&lt;label for=\"edit-".$field['#name']."\"&gt;".$field['#title'];
    if ($field['#required']==true){
       $result.= "&lt;span class=\"form-required\" title=\"This field is required.\"&gt;*&lt;/span&gt;";
    }
    $result.="&lt;/label&gt;";
    $result.="&lt;/div&gt;";
    return $result;
}


and then:

  $content.="&lt;td&gt;";
  $content.=drupal_render_label($form['carmodel']);
  $content.="&lt;/td&gt;";


Anyone have sth better?