includes/functions.php
changeset 82 03c7f5ec1e4c
parent 81 d7fc25acd3f3
child 86 c162ca39db8f
--- a/includes/functions.php	Sun Aug 05 15:58:50 2007 -0400
+++ b/includes/functions.php	Sun Aug 05 17:10:17 2007 -0400
@@ -2058,7 +2058,12 @@
   $this_page = ceil ( $start / $perpage );
 
   // Build paginator
-  $begin = '<div class="tblholder" style="display: table; margin: 10px 0 0 auto;">
+  $pg_css = ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) ?
+            // IE-specific hack
+            'display: block; width: 1px;':
+            // Other browsers
+            'display: table; margin: 10px 0 0 auto;';
+  $begin = '<div class="tblholder" style="'. $pg_css . '">
     <table border="0" cellspacing="1" cellpadding="4">
       <tr><th>Page:</th>';
   $block = '<td class="row1" style="text-align: center;">{LINK}</td>';