? diff.patch
Index: date_single_day.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date_single_day/date_single_day.module,v
retrieving revision 1.7
diff -u -p -r1.7 date_single_day.module
--- date_single_day.module	3 Sep 2010 06:59:42 -0000	1.7
+++ date_single_day.module	27 Sep 2010 11:01:55 -0000
@@ -133,29 +133,22 @@ function theme_date_single_day_element($
   // Render the 'from' date
   // Set titles in the individual form elements.
   $form['value']['date']['#title'] = 'Date';
-  $output = drupal_render($form['value']['date']);
-  
-  // Container to float the two times; though this doesn't work.
-  // @todo: figure out how the CSS from date module works and whether it can
-  // be repurposed here.
-  $output .= '<div class="container-inline-date">';
+  $fields[] = drupal_render($form['value']['date']);
 
   $form['value']['time']['#title'] = 'From time';
-  $output .= drupal_render($form['value']['time']);
+  $fields[] = drupal_render($form['value']['time']);
   
-  $output .= drupal_render($form['value2']['date']);
+  $fields[] = drupal_render($form['value2']['date']);
   
   $form['value2']['time']['#title'] = 'To time';
-  $output .= drupal_render($form['value2']['time']);
+  $fields[] = drupal_render($form['value2']['time']);
 
   // Render the repeat options if present.
   if (isset($form['rrule'])) {
-    $output .= drupal_render($form['rrule']);
+    $fields[] = drupal_render($form['rrule']);
   }
-
-  $output .= '</div>'; 
   
-  return $output;
+  return theme('table', array(), array($fields));
 }
 
 /**
