Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -356,7 +356,8 @@ |
357 | 357 | .toc ul { |
358 | 358 | list-style-type: none; |
359 | 359 | list-style-image: none; |
360 | | - padding: 0 .4em; |
| 360 | + margin-left: 0; |
| 361 | + padding-left: 0; |
361 | 362 | text-align: left; |
362 | 363 | } |
363 | 364 | #toc ul ul, |
Index: trunk/phase3/skins/modern/main.css |
— | — | @@ -561,6 +561,11 @@ |
562 | 562 | border: solid 1px #bbb; |
563 | 563 | } |
564 | 564 | |
| 565 | +#toc tr, #toc td { |
| 566 | + margin: 0; |
| 567 | + padding: 0; |
| 568 | +} |
| 569 | + |
565 | 570 | #toctitle { |
566 | 571 | border-bottom: solid 1px #3c78b5; |
567 | 572 | background-color: #ddd; |
— | — | @@ -587,7 +592,7 @@ |
588 | 593 | list-style-type: none; |
589 | 594 | list-style-image: none; |
590 | 595 | margin: 0 1em; |
591 | | - padding: 0; |
| 596 | + padding-left: 0; |
592 | 597 | text-align: left; |
593 | 598 | } |
594 | 599 | |
Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -791,14 +791,4 @@ |
792 | 792 | } |
793 | 793 | |
794 | 794 | /* bug 12205 */ |
795 | | -#mw-credits a { |
796 | | - unicode-bidi: embed; |
797 | | -} |
798 | | - |
799 | | -/* Standard toc */ |
800 | | -#toc { |
801 | | - display: inline-block; |
802 | | - /* IE6+7 workaround */ |
803 | | - zoom: 1; |
804 | | - display: inline !ie; |
805 | | -} |
\ No newline at end of file |
| 795 | +#mw-credits a { unicode-bidi: embed; } |
\ No newline at end of file |
Index: trunk/phase3/skins/vector/screen.css |
— | — | @@ -883,7 +883,8 @@ |
884 | 884 | .toc ul { |
885 | 885 | list-style-type: none; |
886 | 886 | list-style-image: none; |
887 | | - padding: 0 .4em; |
| 887 | + margin-left: 0; |
| 888 | + padding-left: 0; |
888 | 889 | text-align: left; |
889 | 890 | } |
890 | 891 | #toc ul ul, |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1456,10 +1456,10 @@ |
1457 | 1457 | static function tocList( $toc, $lang = false ) { |
1458 | 1458 | $title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) ); |
1459 | 1459 | return |
1460 | | - '<div id="toc" class="toc">' |
| 1460 | + '<table id="toc" class="toc"><tr><td>' |
1461 | 1461 | . '<div id="toctitle"><h2>' . $title . "</h2></div>\n" |
1462 | 1462 | . $toc |
1463 | | - . "</ul>\n</div>\n"; |
| 1463 | + . "</ul>\n</td></tr></table>\n"; |
1464 | 1464 | } |
1465 | 1465 | |
1466 | 1466 | /** |