--- sites/all/modules/media_browser/theme/media_browser.tpl.php	2009-06-09 12:16:46.000000000 +0200
+++ sites/all/modules/media_browser/theme/media_browserNew.tpl.php	2010-06-09 19:33:25.000000000 +0200
@@ -6,6 +6,8 @@
       $top = '<tr><td width="60%" valign="top">';
       $middle = '</td><td width="40%" valign="top">';
       $bottom = '</td></tr>';
+      $first_class = 'media_browser_attachment ' . $options['class'];
+      $second_class = 'media_browser_list';
       $first = $attachment;
       $second = $rows;
       break;
@@ -13,6 +15,8 @@
       $top = '<tr><td width="40%" valign="top">';
       $middle = '</td><td width="60%" valign="top">';
       $bottom = '</td></tr>';
+      $first_class = 'media_browser_list';
+      $second_class = 'media_browser_attachment ' . $options['class'];
       $first = $rows;
       $second = $attachment;
       break;
@@ -20,6 +24,8 @@
       $top = '<tr><td valign="top">';
       $middle = '</td></tr><tr><td valign="top">';
       $bottom = '</td></tr>';
+      $first_class = 'media_browser_list';
+      $second_class = 'media_browser_attachment ' . $options['class'];
       $first = $rows;
       $second = $attachment;
       break;
@@ -27,6 +33,8 @@
       $top = '<tr><td valign="top">';
       $middle = '</td></tr><tr><td valign="top">';
       $bottom = '</td></tr>';
+      $first_class = 'media_browser_attachment ' . $options['class'];
+      $second_class = 'media_browser_list';
       $first = $attachment;
       $second = $rows;
       break;
@@ -38,11 +46,11 @@
   <table class="media_browser_container position_<?php print $options['position']; ?>">
     <tbody>
      <?php print $top; ?>
-        <div class="media_browser_attachment <?php print $options['class']; ?>">
+        <div class="<?php print $first_class; ?>">
           <?php print $first; ?>
         </div>
      <?php print $middle; ?>
-        <div class="media_browser_list"> 
+        <div class="<?php print $second_class; ?>">
           <?php print $second; ?>        
         </div> 
      <?php print $bottom; ?>
