
ChristensenC at BATTELLE
Sep 2, 2008, 10:36 AM
Post #2 of 2
(178 views)
Permalink
|
You should be able to add the width attribute to your css for the TOC The class and id of the toc area are "toc". So I would use: .toc { width: 120px; } You can find more about changing the stylesheets here http://www.mediawiki.org/wiki/Manual:Interface/Stylesheets Good luck! -Courtney -----Original Message----- From: mediawiki-l-bounces[at]lists.wikimedia.org [mailto:mediawiki-l-bounces[at]lists.wikimedia.org] On Behalf Of Bobby S Sent: Monday, September 01, 2008 10:29 PM To: mediawiki-l[at]lists.wikimedia.org Subject: [Mediawiki-l] Forcing width of TOC Is there a way in this code to force a specific width of the TOC (not just the table it is in but the actual TOC area)? {| cellspacing=0 cellpadding=0 style="margin-bottom: 1em; float: right; margin-right: 0em; padding: 0em 0em 0em 1em; | __TOC__ |} Right now the width is based on the values in the TOC (header values), but I want to force a specific width. Many thanks, Bobby _______________________________________________ MediaWiki-l mailing list MediaWiki-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|