--- imagefield_gallery_lightbox2.module2        2009-02-12 12:23:44.000000000 +0100
+++ imagefield_gallery_lightbox2.module 2009-02-12 12:26:04.000000000 +0100
@@ -375,7 +375,7 @@ function theme_imagefield_gallery_lightb
         else {
           $imagecache_path = base_path() . file_directory_path() .'/imagecache/'. $preview .'/'. $file['filepath'];
         }
-        $output .= '<div class="'. $node->type .'_image_field_thumbnail">';
+        $output .= '<span class="'. $node->type .'_image_field_thumbnail">';
         $output .= '<a href="'. $imagecache_path .'" rel="lightbox['. $node->nid .']" title="'. $images[$i]['title'] .'">';
         if ($thumbnail == '_original') {
           $output .= theme('image', $file['filepath'], $images[$i]['alt'], $images[$i]['title']);
@@ -384,7 +384,7 @@ function theme_imagefield_gallery_lightb
           $output .= theme('imagecache', $thumbnail, $file['filepath'], $images[$i]['alt'], $images[$i]['title']);
         }
         $output .= '</a>';
-        $output .= '</div>';
+        $output .= '</span>';
       }
       $i++;
     }
