[Mediawiki-l] Float table of contens?

Morten Blaabjerg morten at crewscut.com
Tue Oct 25 00:47:06 UTC 2005


This piece of wiki-markup and css basically floats the TOC to the right :

{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; 
float: right; padding: .5em 0 .8em 1.4em; background: none;"
|
__TOC__
|}

Put this in a template, and call the template from the pages where you need 
the floating TOC. It can quite easily be modified to float the TOC to the 
left, (or alternatively, to accept variables to it to do the trick)

Best wishes,
Morten :-)

--
Crews Cut Production
Morten Blaabjerg
Danmarksgade 97 - DK-5000 Odense C
Tlf. 65 90 60 88 / 51 80 91 55
http://morten.crewscut.com
morten at crewscut.com


----- Original Message ----- 
From: "Bass, Joshua L" <joshua.l.bass at lmco.com>
To: "MediaWiki announcements and site admin list" 
<mediawiki-l at Wikimedia.org>
Sent: Monday, October 24, 2005 10:13 PM
Subject: [Mediawiki-l] Float table of contens?


> On any pages that have a table of contents, it seems the default is to
> have the TOC have its own row. Any text will be below it. I would like
> the text to wrap around the TOC in the same way it does with thumbnails.
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 





More information about the MediaWiki-l mailing list