Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -379,7 +379,15 @@ |
380 | 380 | .TablePager { |
381 | 381 | min-width: 80%; |
382 | 382 | border-collapse: collapse; |
| 383 | + margin: 0 auto; |
383 | 384 | } |
| 385 | +.TablePager_nav { |
| 386 | + margin: 0 auto; |
| 387 | +} |
| 388 | +.TablePager_nav td { |
| 389 | + padding: 3px; |
| 390 | + text-align: center; |
| 391 | +} |
384 | 392 | .TablePager_nav a { |
385 | 393 | text-decoration: none; |
386 | 394 | } |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -815,7 +815,7 @@ |
816 | 816 | $tableClass = htmlspecialchars( $this->getTableClass() ); |
817 | 817 | $sortClass = htmlspecialchars( $this->getSortHeaderClass() ); |
818 | 818 | |
819 | | - $s = "<table border='1' class=\"$tableClass\"><thead><tr>\n"; |
| 819 | + $s = "<table style='border:1;' class=\"$tableClass\"><thead><tr>\n"; |
820 | 820 | $fields = $this->getFieldNames(); |
821 | 821 | |
822 | 822 | # Make table header |
— | — | @@ -982,10 +982,10 @@ |
983 | 983 | $links = $this->getPagingLinks( $linkTexts, $disabledTexts ); |
984 | 984 | |
985 | 985 | $navClass = htmlspecialchars( $this->getNavClass() ); |
986 | | - $s = "<table class=\"$navClass\" align=\"center\" cellpadding=\"3\"><tr>\n"; |
987 | | - $cellAttrs = 'valign="top" align="center" width="' . 100 / count( $links ) . '%"'; |
| 986 | + $s = "<table class=\"$navClass\"><tr>\n"; |
| 987 | + $width = 100 / count( $links ) . '%'; |
988 | 988 | foreach ( $labels as $type => $label ) { |
989 | | - $s .= "<td $cellAttrs>{$links[$type]}</td>\n"; |
| 989 | + $s .= "<td style='width:$width;'>{$links[$type]}</td>\n"; |
990 | 990 | } |
991 | 991 | $s .= "</tr></table>\n"; |
992 | 992 | return $s; |