static function tocList( $toc, $lang = false ) {
$title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) );
return
- '<table id="toc" class="toc"><tr><td>'
+ '<div id="toc" class="toc">'
. '<div id="toctitle"><h2>' . $title . "</h2></div>\n"
. $toc
- . "</ul>\n</td></tr></table>\n";
+ . "</ul>\n</div>\n";
}
/**
}
/* bug 12205 */
-#mw-credits a { unicode-bidi: embed; }
\ No newline at end of file
+#mw-credits a {
+ unicode-bidi: embed;
+}
+
+/* Standard toc */
+#toc {
+ display: inline-block;
+ /* IE6+7 workaround */
+ zoom: 1;
+ display: inline !ie;
+}
\ No newline at end of file